Re-enabled test that failed for masked email addresses.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Tue, 2 Feb 2016 21:09:52 +0000 (21:09 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Tue, 2 Feb 2016 21:09:52 +0000 (21:09 +0000)
Signed-off-by: Philipp Spitzer <philipp@spitzer.priv.at>
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2444 7aebc617-e5e2-0310-91dc-80fb5f6d2477

tests/test_wrvalidators.py

index 5c3aafb8e5ac01cec1a1a3b893ad67cfb74d1014..1fd93f07ad8bcaba38b9c6ea210b9f502e95ed8a 100644 (file)
@@ -377,7 +377,7 @@ class TestEmails(unittest.TestCase):
         self.assertEqual(None, emails_from_str(''))
         self.assertEqual([], emails_from_str('Nein'))
         self.assertEqual([(('info@example.com', False), None)], emails_from_str('info@example.com'))
-        self.assertEqual([(('info@example.com', True), None)], emails_from_str('info(at)example.com'))
+        self.assertEqual([(('info@example.com', True), None)], emails_from_str('info(at)example.com'))
         self.assertEqual([(('info@example.com', False), 'Office')], emails_from_str('info@example.com (Office)'))
         self.assertEqual([(('info@example.com', False), None), (('home@example.com', False), 'Privat')], emails_from_str('info@example.com; home@example.com (Privat)'))
         with self.assertRaises(ValueError):