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_armor.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_armor.py')
-rw-r--r-- | ffi/lang/python/tests/test_armor.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ffi/lang/python/tests/test_armor.py b/ffi/lang/python/tests/test_armor.py index 93486703..2d1815f6 100644 --- a/ffi/lang/python/tests/test_armor.py +++ b/ffi/lang/python/tests/test_armor.py @@ -2,13 +2,12 @@ import os from os.path import join from tempfile import TemporaryDirectory -from sequoia.core import Context, NetworkPolicy, Reader, Writer +from sequoia.core import Context, Reader, Writer from sequoia.openpgp import ArmorReader, ArmorWriter, Kind TEST_VECTORS = [0, 1, 2, 3, 47, 48, 49, 50, 51] -ctx = Context(network_policy=NetworkPolicy.Offline, - ephemeral=True) +ctx = Context(ephemeral=True) def fn_bin(t): return "../../../openpgp/tests/data/armor/test-{}.bin".format(t) |