aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2019-12-05Moved all individual test cases into iterables and test with `self.subTest` ↵Gravatar Shirayuki Nekomata-14/+18
context manager.
2019-12-05Added `self.subTest` for tests with multiple test cases & simplified single ↵Gravatar Shirayuki Nekomata-19/+11
test case tests.
2019-12-05Introduced test for `test_format_infraction`, refactored ↵Gravatar Shirayuki Nekomata-5/+7
`test_parse_rfc1123`, fixed typo.
2019-12-05Splitting test cases for `format_infraction_with_duration` into proper, ↵Gravatar Shirayuki Nekomata-7/+27
independent tests.
2019-12-05Changed `assert` to `self.assertIs` for `test_wait_until`Gravatar Shirayuki Nekomata-1/+1
2019-12-05Added missing docstring for `test_humanize_delta_raises_for_invalid_max_units`Gravatar Shirayuki Nekomata-0/+1
2019-12-05Splitting test cases for `humanize_delta` into proper, independent tests.Gravatar Shirayuki Nekomata-7/+21