示例#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])
 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])
 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])