Browse Source

Fix test as per #106

Luke Cyca 11 years ago
parent
commit
5853ee9261
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tests.py

+ 2
- 2
tests.py View File

@@ -255,7 +255,7 @@ class MailTests(unittest.TestCase):
255 255
         )
256 256
 
257 257
         self.assertIn(
258
-            '(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))',
258
+            'DHE-RSA-AES256-SHA (256/256 bits)',  # Also matches ECDHE-...
259 259
             data[0][1]
260 260
         )
261 261
 
@@ -292,7 +292,7 @@ class MailTests(unittest.TestCase):
292 292
         )
293 293
 
294 294
         self.assertIn(
295
-            '(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))',
295
+            'DHE-RSA-AES256-SHA (256/256 bits)',  # Also matches ECDHE-...
296 296
             data[0][1]
297 297
         )
298 298
 

Loading…
Cancel
Save