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:
Chris Hill-Scott
2020-01-21 14:09:54 +00:00
parent f6a263a7b2
commit f5ced76e63

View File

@@ -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, (