Add some tolerance to test_durations

This commit is contained in:
Dave Hunt 2017-02-24 11:03:14 +00:00
parent 3e0fe4923a
commit e0c147db22
No known key found for this signature in database
GPG Key ID: 4000D32ABB02F959
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class TestHTML:
import time
def test_sleep():
time.sleep({0:f})
""".format(sleep))
""".format(sleep * 2))
result, html = run(testdir)
assert result.ret == 0
assert_results(html, duration=sleep)