コード例 #1
0
 def test_giant_json_finds_reordering(self):
     a = open("testing-data/jsonbloba.json").read()
     b = open("testing-data/jsonblobb.json").read()
     self.assertFalse(jsoncompare.json_are_same(a, b)[0])
コード例 #2
0
 def test_giant_json_finds_reordering(self):
     a = open("testing-data/jsonbloba.json").read()
     b = open("testing-data/jsonblobb.json").read()
     self.assertFalse(jsoncompare.json_are_same(a, b)[0])
コード例 #3
0
 def test_giant_json_ignores_reordering(self):
     a = open("testing-data/jsonbloba.json").read()
     b = open("testing-data/jsonblobb.json").read()
     self.assertTrue(jsoncompare.json_are_same(a, b, True)[0])
コード例 #4
0
 def test_giant_json_ignores_reordering(self):
     a = open("testing-data/jsonbloba.json").read()
     b = open("testing-data/jsonblobb.json").read()
     self.assertTrue(jsoncompare.json_are_same(a, b, True)[0])