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

Chi dob validation #37

Closed
wants to merge 7 commits into from

Conversation

andyatterton
Copy link

Support for full CHI number validation and generation. Generate now uses synthetic numbers as the default.

I have removed all the warnings about the lack of support and adjusted the roadmap.

Check first six digits of a CHI are a date. Check when sex is added as an option it matches CHI number. Changed generate to supply numbers from synth range by default. Made sure generate supplies valid CHI numbers. Added tests.
Updated usage docs to inlude example. Removed CHI number support warnings. Updated Changelog
Incorrect use of warns(None) to assert no warning is raised. Pytest 7 requires different syntax. See https://docs.pytest.org/en/7.0.x/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for details
Changed the way a sex is specified to accept booleans for is_male or is_female
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.

None yet

1 participant