Fixed TestChoice: test_ was missing before the from_str test function.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Tue, 2 Feb 2016 21:10:08 +0000 (21:10 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Tue, 2 Feb 2016 21:10:08 +0000 (21:10 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2449 7aebc617-e5e2-0310-91dc-80fb5f6d2477

tests/test_wrvalidators.py

index ff56cfe237c10e28de1c060bf5242232465713b0..2ca3fbf674c2672d4e5dceddd50c89d58d1ce6e8 100644 (file)
@@ -59,7 +59,7 @@ class TestCoice(unittest.TestCase):
     def setUp(self):
         self.choices = ['abc', 'def', 'ghi']
 
-    def from_str(self):
+    def test_from_str(self):
         self.assertEqual('abc', choice_from_str('abc', self.choices))
         self.assertEqual('ghi', choice_from_str('ghi', self.choices))
         with self.assertRaises(ValueError):