コード例 #1
0
 def test_locale_allow_none(self):
     v = CoercingValidator()
     v.locale = None
コード例 #2
0
 def test_locale_allow_none(self):
     v = CoercingValidator()
     v.locale = None
コード例 #3
0
 def test_locale_raises(self):
     v = CoercingValidator()
     with self.assertRaises(TypeError):
         v.locale = 12
コード例 #4
0
 def test_locale_raises(self):
     v = CoercingValidator()
     with self.assertRaises(TypeError):
         v.locale = 12