Exemplo n.º 1
0
 def test_datatype_json_with_dict(self):
     self.assertIsNone(assertions.datatype_json('whatever', {'foo': 'bar'}))
Exemplo n.º 2
0
 def test_datatype_json_with_float(self):
     self.assertIsNone(assertions.datatype_json('whatever', 1.0))
Exemplo n.º 3
0
 def test_datatype_json_with_bool(self):
     self.assertIsNone(assertions.datatype_json('whatever', True))
Exemplo n.º 4
0
 def test_datatype_json_with_list(self):
     self.assertIsNone(assertions.datatype_json(
         'whatever', [{'foo': 'bar'}]))
Exemplo n.º 5
0
 def test_datatype_json_with_str(self):
     self.assertIsNone(assertions.datatype_json('whatever', 'hi'))
Exemplo n.º 6
0
 def test_datatype_json_with_dict(self):
     self.assertIsNone(assertions.datatype_json(
         'whatever', {'foo': 'bar'}))
Exemplo n.º 7
0
 def test_datatype_json_with_bool(self):
     self.assertIsNone(assertions.datatype_json('whatever', True))
Exemplo n.º 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'))
Exemplo n.º 10
0
 def test_datatype_json_with_list(self):
     self.assertIsNone(
         assertions.datatype_json('whatever', [{
             'foo': 'bar'
         }]))