Skip to content

Commit

Permalink
fix: delay test was too strict
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremad committed Nov 22, 2023
1 parent 42e78ea commit 83dbfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_looper.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_total_delay() -> None:
assert cmd_looper.runs == max_tries
diff = cmd_looper.duration - (max_tries - 1) * delay
assert diff > 0
assert diff < 0.1
assert diff < 0.2


def test_total_time_even() -> None:
Expand Down

0 comments on commit 83dbfcc

Please sign in to comment.