From 67f247d42bf296b15446ad5e59ab7bdf2bd57e28 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 21 Jan 2023 20:37:31 +0100 Subject: test_openpgp: Workaround pyflakes' failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- tests/test_openpgp.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tests/test_openpgp.py') 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): -- cgit v1.2.3