summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMike Roest <mike.roest@replicon.com>2022-04-26 14:48:44 -0600
committerMike Roest <mike.roest@replicon.com>2022-04-26 14:48:44 -0600
commit856a25bbb3ed7e41515408bfa1e20f01b6aee591 (patch)
tree4eb096ebb146a9e09b1ec4c2200e3b4033a4d94c
parentd596f798f01a5862c277a3ac9d714470688e77b9 (diff)
replace blowfish with different cipher in test
-rw-r--r--tests/test_transport.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_transport.py b/tests/test_transport.py
index c17a1fc3..98a7d30d 100644
--- a/tests/test_transport.py
+++ b/tests/test_transport.py
@@ -196,9 +196,9 @@ class TransportTest(unittest.TestCase):
def test_security_options(self):
o = self.tc.get_security_options()
self.assertEqual(type(o), SecurityOptions)
- self.assertTrue(("aes256-cbc") != o.ciphers)
- o.ciphers = ("aes256-cbc")
- self.assertEqual(("aes256-cbc"), o.ciphers)
+ self.assertTrue(("aes256-cbc", "aes192-cbc") != o.ciphers)
+ o.ciphers = ("aes256-cbc", "aes192-cbc")
+ self.assertEqual(("aes256-cbc", "aes192-cbc"), o.ciphers)
try:
o.ciphers = ("aes256-cbc", "made-up-cipher")
self.assertTrue(False)