Browse Source

fixed changing error message

Daniel Roesler 8 years ago
parent
commit
eea72dcc17
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test_module.py

+ 1 - 1
tests/test_module.py

@@ -110,7 +110,7 @@ class TestModule(unittest.TestCase):
         except Exception as e:
             result = e
         self.assertIsInstance(result, ValueError)
-        self.assertIn("Key too small", result.args[0])
+        self.assertIn("key too small", result.args[0].lower())
 
     def test_invalid_domain(self):
         """ Let's Encrypt rejects invalid domains """