commit | 217e3b55bf91c4c633a7b79f1b7f8bf2e3e6be31 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Tue Nov 12 10:27:49 2013 -0800 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Tue Nov 12 10:27:49 2013 -0800 |
tree | fa2ded8ae0ffb59c10c6a63d711d2ae06ba0d92e | |
parent | 1d75bfa060ff55c4e415a8d34f8e55025fed9a86 [diff] [blame] |
Fixed using copied hashes
diff --git a/tests/hazmat/primitives/utils.py b/tests/hazmat/primitives/utils.py index 0f97595..9327b0e 100644 --- a/tests/hazmat/primitives/utils.py +++ b/tests/hazmat/primitives/utils.py
@@ -155,6 +155,12 @@ assert m != m_copy assert m._ctx != m_copy._ctx + m.update(b"abc") + copy = m.copy() + copy.update(b"123") + m.update(b"123") + assert copy.finalize() == m.finalize() + def generate_long_string_hash_test(hash_factory, md, only_if=None, skip_message=None):