Ejemplo n.º 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])
Ejemplo n.º 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])
Ejemplo n.º 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])
Ejemplo n.º 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])