diff options
author | Azul <azul@riseup.net> | 2021-02-03 10:49:29 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2021-02-08 14:54:46 +0100 |
commit | 280796ac92d25ada9d6fd79d03aea7676b83ded7 (patch) | |
tree | 3991b0f7abcbf24e6a1f63f51775f6185a745f18 /ffi/lang/python/tests/test_keyserver.py | |
parent | 65f9d716c56c809b5cca59f964963b5ee062e261 (diff) |
ffi: Move NetworkPolicy into net for python.
- See #665.
- Also add test for keyserver to make sure the fix is correct.
Diffstat (limited to 'ffi/lang/python/tests/test_keyserver.py')
-rw-r--r-- | ffi/lang/python/tests/test_keyserver.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ffi/lang/python/tests/test_keyserver.py b/ffi/lang/python/tests/test_keyserver.py new file mode 100644 index 00000000..30d237fa --- /dev/null +++ b/ffi/lang/python/tests/test_keyserver.py @@ -0,0 +1,10 @@ +from sequoia.prelude import Context +from sequoia.net import KeyServer + +def test_keys_openpgp_org(): + c = Context(ephemeral=True) + KeyServer.keys_openpgp_org(c) + +def test_new(): + c = Context(ephemeral=True) + KeyServer.new(c, "hkps://keys.domain.example") |