summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-17 12:04:29 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-17 12:04:29 +0200
commit0cec19bc6c3595365c87d23023bdfb7767f46b35 (patch)
treea3f330c464b76aeefc690208f6446581e58beede /tests
parent503bac7e04330c5bd82ba3e7d9878b85d5024a94 (diff)
downloadgemato-0cec19bc6c3595365c87d23023bdfb7767f46b35.tar.gz
Fix linting failures
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_openpgp.py2
-rw-r--r--tests/test_verify.py1
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",