Fixup for E-Mail converter.
[philipp/winterrodeln/wrpylib.git] / tests / test_wrvalidators.py
index b12962b4fe22cbef6c570d7b674393b2825f4599..f26c5b8c7b81205c5c391db0055369756c3299f2 100644 (file)
@@ -392,8 +392,7 @@ class TestEmail(unittest.TestCase):
 
     def test_to_str(self):
         for value in self.good_addresses:
-            self.assertEqual(value, email_from_str(value))
-
+            self.assertEqual(value, email_to_str(value))
 
 
 class TestBox(unittest.TestCase):