summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-21 20:37:31 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-21 20:51:15 +0100
commit67f247d42bf296b15446ad5e59ab7bdf2bd57e28 (patch)
treee9d6988623d589003eb74046f874e83201da1ab1 /tests
parentfc8620c4d4a749ea9be8d0340aa485c92edb7385 (diff)
downloadgemato-67f247d42bf296b15446ad5e59ab7bdf2bd57e28.tar.gz
test_openpgp: Workaround pyflakes' failures
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_openpgp.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_openpgp.py b/tests/test_openpgp.py
index 1d7ab5c..a88ccd9 100644
--- a/tests/test_openpgp.py
+++ b/tests/test_openpgp.py
@@ -205,6 +205,22 @@ MANIFESTS_BAD_SIG = [
]
+# workaround pyflakes' limitations
+_ = COMBINED_PUBLIC_KEYS
+_ = EXPIRED_PUBLIC_KEY
+_ = FORGED_PUBLIC_KEY
+_ = FORGED_SUBKEY
+_ = FORGED_UNEXPIRE_KEY
+_ = OLD_UNEXPIRE_PUBLIC_KEY
+_ = OTHER_VALID_PUBLIC_KEY
+_ = UNEXPIRE_PUBLIC_KEY
+_ = UNSIGNED_PUBLIC_KEY
+_ = UNSIGNED_SUBKEY
+_ = VALID_KEY_NOEMAIL
+_ = VALID_KEY_NONUTF
+_ = VALID_KEY_SUBKEY
+
+
@pytest.mark.parametrize('manifest_var',
MANIFESTS_GOOD_SIG + MANIFESTS_BAD_SIG)
def test_noverify_goodish_manifest_load(manifest_var):