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]
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]