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.
This commit is contained in:
Damir Jelić 2019-06-20 13:54:25 +02:00
parent 125c62098c
commit 5d7070d2f3

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 hashlib_hash == first_hash