Change 'passed tests' numeration in tests

This commit is contained in:
Chingiz_Toimbetov 2017-08-08 15:07:32 +03:00 committed by Dave Hunt
parent e9b2433549
commit 708369a6db
1 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@ class TestHTML:
testdir.makepyfile('def test_pass(): pass')
result, html = run(testdir)
hash_key = ('test_extra_text_separated.py::'
'test_pass01').encode('utf-8')
'test_pass00').encode('utf-8')
hash_generator = hashlib.md5()
hash_generator.update(hash_key)
assert result.ret == 0
@ -372,7 +372,7 @@ class TestHTML:
testdir.makepyfile('def test_pass(): pass')
result, html = run(testdir)
hash_key = ('test_extra_image_separated.py::'
'test_pass01').encode('utf-8')
'test_pass00').encode('utf-8')
hash_generator = hashlib.md5()
hash_generator.update(hash_key)
assert result.ret == 0