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 unit tests for automated QA checks #580

Closed
wants to merge 6 commits into from

Conversation

RickWangPerth
Copy link
Contributor

This Pull Request adds unit tests(test_management_commands_auto_qa_checks.py) for the automated QA checks management command (automated_qa_checks.py) in the observations application. The following tests have been added:

  • Tests for flagging turtle nest encounters with specific site names ('training' and 'testing').
  • Tests for flagging turtle nest encounters with uncertain species, nesting outcomes, and nest age.
  • Tests for flagging encounters with specific species in specific areas.
  • Tests for marking imported turtle nest encounters as curated and flagging encounters with unknown reporters.
TestOutcome CoverageReport

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.

2 participants