Skip to content

Commit

Permalink
CodeRabbit suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 committed Oct 10, 2024
1 parent 623aeeb commit 7b2c379
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ async def test_connectivity_check_throttling(
websession.head.side_effect = side_effect

reset_last_call(Supervisor.check_connectivity)
with (
travel(datetime.now(), tick=False) as traveller,
):
with travel(datetime.now(), tick=False) as traveller:
await coresys.supervisor.check_connectivity()
traveller.shift(call_interval)
await coresys.supervisor.check_connectivity()
Expand Down

0 comments on commit 7b2c379

Please sign in to comment.