summaryrefslogtreecommitdiffstats
path: root/ffi/lang/python/tests/test_packet_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'ffi/lang/python/tests/test_packet_parser.py')
-rw-r--r--ffi/lang/python/tests/test_packet_parser.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ffi/lang/python/tests/test_packet_parser.py b/ffi/lang/python/tests/test_packet_parser.py
index e50a58f5..abb0ab24 100644
--- a/ffi/lang/python/tests/test_packet_parser.py
+++ b/ffi/lang/python/tests/test_packet_parser.py
@@ -1,13 +1,12 @@
from enum import Enum
-from sequoia.core import Context, NetworkPolicy
+from sequoia.core import Context
from sequoia.openpgp import Tag, PacketParser
pgp = "../../../openpgp/tests/data/messages/encrypted-aes128-password-123456789.gpg"
plain = "../../../openpgp/tests/data/messages/a-cypherpunks-manifesto.txt"
def test_decryption():
- ctx = Context(network_policy=NetworkPolicy.Offline,
- ephemeral=True)
+ ctx = Context(ephemeral=True)
class State(Enum):
# XXX: In Python 3.6, we can use enum.auto() to assign values.