Tweak test for better coverage report

This commit is contained in:
Andrew Scheller
2016-05-09 00:18:10 +01:00
parent 1b7dad5fa4
commit 0c2a13367d

View File

@@ -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