Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more tests #48

Open
11 tasks
jwodder opened this issue Dec 19, 2023 · 0 comments
Open
11 tasks

Add more tests #48

jwodder opened this issue Dec 19, 2023 · 0 comments
Labels
tests Add or improve existing tests

Comments

@jwodder
Copy link
Collaborator

jwodder commented Dec 19, 2023

  • Different header name normalizers (identity, hyphens=underscores, titlecase?, etc.)
  • add_additional():
    • Calling add_additional() multiple times (some times with allow=False)
    • add_additional(False, extra arguments ...)
    • add_additional when a header has a dest that's just a normalized form of one of its names
  • Calling add_field()/add_additional() on a HeaderParser after a previous call raised an error
  • Scanning & parsing Unicode
  • Normalizer that returns a non-string
  • Non-string keys in NormalizedDict with the default normalizer
  • Equality of HeaderParser objects
  • Passing scanner options to HeaderParser
  • Scanning files not opened in universal newlines mode
@jwodder jwodder added the tests Add or improve existing tests label Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Add or improve existing tests
Projects
None yet
Development

No branches or pull requests

1 participant