diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_openpgp.py | 2 | ||||
-rw-r--r-- | tests/test_verify.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_openpgp.py b/tests/test_openpgp.py index 7b02e0e..59deef4 100644 --- a/tests/test_openpgp.py +++ b/tests/test_openpgp.py @@ -560,7 +560,7 @@ def base_tree(tmp_path): os.mkdir(tmp_path / 'eclass') with open(tmp_path / 'eclass' / 'Manifest', 'w'): pass - with open(tmp_path / 'myebuild-0.ebuild', 'wb') as f: + with open(tmp_path / 'myebuild-0.ebuild', 'wb'): pass with open(tmp_path / 'metadata.xml', 'wb'): pass diff --git a/tests/test_verify.py b/tests/test_verify.py index f54cd74..8890e1a 100644 --- a/tests/test_verify.py +++ b/tests/test_verify.py @@ -104,6 +104,7 @@ def get_checksums(path): '__size__': hashes['__size__'], } + EMPTY_CHECKSUMS = { "MD5": "d41d8cd98f00b204e9800998ecf8427e", "SHA1": "da39a3ee5e6b4b0d3255bfef95601890afd80709", |