Ejemplo n.º 1
0
 def test_locale_allow_none(self):
     v = CoercingValidator()
     v.locale = None
Ejemplo n.º 2
0
 def test_locale_allow_none(self):
     v = CoercingValidator()
     v.locale = None
Ejemplo n.º 3
0
 def test_locale_raises(self):
     v = CoercingValidator()
     with self.assertRaises(TypeError):
         v.locale = 12
Ejemplo n.º 4
0
 def test_locale_raises(self):
     v = CoercingValidator()
     with self.assertRaises(TypeError):
         v.locale = 12