From 1785a5405090eff4ecaea6bb34846ddc8e08572f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 6 Sep 2020 17:24:38 +0200 Subject: openpgp: Move get_wkd_url() to global scope 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_openpgp.py') 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): -- cgit v1.2.3