コード例 #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))
コード例 #9
0
 def test_datatype_json_with_str(self):
     self.assertIsNone(assertions.datatype_json('whatever', 'hi'))
コード例 #10
0
 def test_datatype_json_with_list(self):
     self.assertIsNone(
         assertions.datatype_json('whatever', [{
             'foo': 'bar'
         }]))