mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 03:10:16 -04:00
Don’t mock job processing in the future
It could hide bugs or make the tests harder to understand later on if what they’re testing is an impossible scenario.
This commit is contained in:
@@ -330,7 +330,7 @@ def test_should_show_job_without_notifications(
|
||||
assert page.select_one('tbody').text.strip() == 'No messages to show yet…'
|
||||
|
||||
|
||||
@freeze_time("2020-01-10 0:0:0")
|
||||
@freeze_time("2020-01-10 1:0:0")
|
||||
@pytest.mark.parametrize('created_at, processing_started, expected_message', (
|
||||
# Recently created, not yet started
|
||||
(datetime(2020, 1, 10, 0, 0, 0), None, (
|
||||
|
||||
Reference in New Issue
Block a user