mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Tweak test for better coverage report
This commit is contained in:
@@ -199,10 +199,9 @@ def test_post_delayed():
|
|||||||
count += 1
|
count += 1
|
||||||
if v == 1:
|
if v == 1:
|
||||||
assert time() - start < 0.01
|
assert time() - start < 0.01
|
||||||
elif v == 2:
|
|
||||||
assert time() - start >= 0.01
|
|
||||||
else:
|
else:
|
||||||
assert False
|
assert v == 2
|
||||||
|
assert time() - start >= 0.01
|
||||||
start = time()
|
start = time()
|
||||||
assert time() - start >= 0.01
|
assert time() - start >= 0.01
|
||||||
assert count == 3
|
assert count == 3
|
||||||
|
|||||||
Reference in New Issue
Block a user