Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Sanders <oliver.sanders@metoffice.gov.uk>
  • Loading branch information
wxtim and oliver-sanders authored Jul 1, 2024
1 parent 45bebc4 commit 7aef19a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/integration/test_task_events_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,12 @@ async def test__always_insert_task_job(
pytest parameterization for ease of debugging, but the test is
very much faster with the parameterization inside.
"""
conf = {
'scheduler': {'allow implicit tasks': True},
'scheduling': {'graph': {'R1': 'skarloey'}},
}
id_ = flow(conf)
id_ = flow(one_conf)
schd = scheduler(id_)
async with start(schd):
# Set task to running:
itask = schd.pool.get_tasks()[0]
itask.state.status = 'waiting'
assert itask.state.status == TASK_STATUS_WAITING
itask.submit_num += 1
itask.try_timers = {'foo': '1'}

Expand Down

0 comments on commit 7aef19a

Please sign in to comment.