예제 #1
0
def test_giant_json_finds_reordering():
    a = open("testing-data/jsonbloba.json").read()
    b = open("testing-data/jsonblobb.json").read()
    assert not json_compare.json_are_same(a, b)[0]
예제 #2
0
def test_giant_json_finds_reordering():
    a = open("testing-data/jsonbloba.json").read()
    b = open("testing-data/jsonblobb.json").read()
    assert not json_compare.json_are_same(a, b)[0]
예제 #3
0
def test_giant_json_ignores_reordering():
    a = open("testing-data/jsonbloba.json").read()
    b = open("testing-data/jsonblobb.json").read()
    assert json_compare.json_are_same(a, b, True)[0]
예제 #4
0
def test_giant_json_ignores_reordering():
    a = open("testing-data/jsonbloba.json").read()
    b = open("testing-data/jsonblobb.json").read()
    assert json_compare.json_are_same(a, b, True)[0]