예제 #1
0
 def test_datatype_json_with_dict(self):
     self.assertIsNone(assertions.datatype_json('whatever', {'foo': 'bar'}))
예제 #2
0
 def test_datatype_json_with_float(self):
     self.assertIsNone(assertions.datatype_json('whatever', 1.0))
예제 #3
0
 def test_datatype_json_with_bool(self):
     self.assertIsNone(assertions.datatype_json('whatever', True))
예제 #4
0
 def test_datatype_json_with_list(self):
     self.assertIsNone(assertions.datatype_json(
         'whatever', [{'foo': 'bar'}]))
예제 #5
0
 def test_datatype_json_with_str(self):
     self.assertIsNone(assertions.datatype_json('whatever', 'hi'))
예제 #6
0
 def test_datatype_json_with_dict(self):
     self.assertIsNone(assertions.datatype_json(
         'whatever', {'foo': 'bar'}))
예제 #7
0
 def test_datatype_json_with_bool(self):
     self.assertIsNone(assertions.datatype_json('whatever', True))
예제 #8
0
 def test_datatype_json_with_float(self):
     self.assertIsNone(assertions.datatype_json('whatever', 1.0))
 def test_datatype_json_with_str(self):
     self.assertIsNone(assertions.datatype_json('whatever', 'hi'))
 def test_datatype_json_with_list(self):
     self.assertIsNone(
         assertions.datatype_json('whatever', [{
             'foo': 'bar'
         }]))