tests: Simplify the sha256 tests for python.

Hypothesis isn't used anymore and the strings are now constants, meaning
that the hashes should never match.
dbkr/wrong_comment_breaks_everything
Damir Jelić 2019-06-20 13:54:25 +02:00
parent 125c62098c
commit 5d7070d2f3
1 changed files with 1 additions and 5 deletions

View File

@ -21,9 +21,5 @@ class TestClass(object):
hashlib_hash = bytes_to_native_str(hashlib_hash[:-1])
if input1 == input2:
assert first_hash == second_hash
else:
assert first_hash != second_hash
assert first_hash != second_hash
assert hashlib_hash == first_hash