Skip to content

TEST: Add unit tests for prompt_converter_configuration.py#1599

Open
romanlutz wants to merge 1 commit intomicrosoft:mainfrom
romanlutz:test/prompt-normalizer-coverage
Open

TEST: Add unit tests for prompt_converter_configuration.py#1599
romanlutz wants to merge 1 commit intomicrosoft:mainfrom
romanlutz:test/prompt-normalizer-coverage

Conversation

@romanlutz
Copy link
Copy Markdown
Contributor

Summary

Adds unit tests for the previously untested PromptConverterConfiguration class.

New Test File

tests/unit/prompt_normalizer/test_prompt_converter_configuration.py - 7 tests covering:

  • Init with converters, all fields, multiple converters
  • from_converters factory method (empty list, single, multiple converters)
  • Default verification

Testing

All 7 tests pass locally.

Tests PromptConverterConfiguration init, defaults, and from_converters factory.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant