Commit 5d7070d2 authored by poljar's avatar poljar

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.
parent 125c6209
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment