Function
test_parser
(parsable_text, expected_datetime, assertion_message)
Source from the content-addressed store, hash-verified
| 107 | |
| 108 | @pytest.mark.parametrize("parsable_text,expected_datetime,assertion_message", PARSER_TEST_CASES) |
| 109 | def test_parser(parsable_text, expected_datetime, assertion_message): |
| 110 | assert parse(parsable_text) == expected_datetime, assertion_message |
| 111 | |
| 112 | |
| 113 | # Parser test cases using datetime(2003, 9, 25) as a default. |
Callers
nothing calls this directly
Tested by
no test coverage detected