Skip to content

Commit 0c2a133

Browse files
committed
Tweak test for better coverage report
1 parent 1b7dad5 commit 0c2a133

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_tools.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,9 @@ def test_post_delayed():
199199
count += 1
200200
if v == 1:
201201
assert time() - start < 0.01
202-
elif v == 2:
203-
assert time() - start >= 0.01
204202
else:
205-
assert False
203+
assert v == 2
204+
assert time() - start >= 0.01
206205
start = time()
207206
assert time() - start >= 0.01
208207
assert count == 3

0 commit comments

Comments
 (0)