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:
parent
125c62098c
commit
5d7070d2f3
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue