Skip to content

[MRG] Add tests for event and schema validation - #149

Open
adaros92 wants to merge 1 commit into
vinayak-mehta:masterfrom
adaros92:feature/unit-tests
Open

[MRG] Add tests for event and schema validation#149
adaros92 wants to merge 1 commit into
vinayak-mehta:masterfrom
adaros92:feature/unit-tests

Conversation

@adaros92

Copy link
Copy Markdown

Notes
Adding unit tests of conrad.utils.apply_schema, conrad.utils.validate_events, and crawlers.base.EventValidator._validate_is_date.

Removed existing test_geocoding.py and replaced with broader test_utils.py to follow convention of one test file per module and one test function in each of those test files per function or method being tested.

Testing
Ran python3 -m pytest and 4 tests passed.

@adaros92 adaros92 mentioned this pull request Aug 16, 2020
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