Beispiel #1
0
 def test_2_Breckets(self):
     res = checkJsonV2.checkJson(' "maps": 10 ,"masks": "valore", "om_points": "value"}')
     self.assertEqual(False, res)
Beispiel #2
0
 def test_5_Duplicate(self):
     res = checkJsonV2.checkJson('{ "maps":10 ,"maps":"valore", "om_points": "value"}')
     self.assertEqual(False, res)
Beispiel #3
0
 def test_7_breckets(self):
     res = checkJsonV2.checkJson('{ "maps":10 ,"masks":"valore", "om_points": [value2]}')
     self.assertEqual(True, res)
Beispiel #4
0
 def test_4_Colon(self):
     res = checkJsonV2.checkJson('{ "ma:ps": 10,"masks":"valore", "om_points": "value"}')
     self.assertEqual(False, res)