diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-06 17:24:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-06 17:24:38 +0200 |
commit | 1785a5405090eff4ecaea6bb34846ddc8e08572f (patch) | |
tree | ca7a15be541fe597fbdce9a922f71d60b5b799da /tests/test_openpgp.py | |
parent | c4933eb9ccffb8a5eb200d5c750029bedfa2669e (diff) | |
download | gemato-1785a5405090eff4ecaea6bb34846ddc8e08572f.tar.gz |
openpgp: Move get_wkd_url() to global scope
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'tests/test_openpgp.py')
-rw-r--r-- | tests/test_openpgp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_openpgp.py b/tests/test_openpgp.py index 9528b7b..5e71830 100644 --- a/tests/test_openpgp.py +++ b/tests/test_openpgp.py @@ -30,6 +30,7 @@ from gemato.manifest import ManifestFile from gemato.openpgp import ( SystemGPGEnvironment, IsolatedGPGEnvironment, + get_wkd_url, ) from gemato.recursiveloader import ManifestRecursiveLoader @@ -842,7 +843,7 @@ def test_refresh_wkd_fallback_to_hkp(openpgp_env_with_refresh, 'iy9q119eutrkn8s1mk4r39qejnbu3n5q?l=Joe.Doe'), ]) def test_get_wkd_url(email, expected): - assert IsolatedGPGEnvironment.get_wkd_url(email) == expected + assert get_wkd_url(email) == expected def signal_desc(sig): |