def test_contains_same_size4(): actual = [ {"wtf": "omg"}, {"wtf1": "omg1"} ] expected = [ {"wtf": "omg"}, {"wtf999": "omg1"} ] assert not json_compare.contains(expected, actual)[0]
def test_contains_same_size2(): actual = [ {"wtf": "omg"}, {"wtf1": "omg1"} ] expected = [ {"wtf": "omg"}, {"wtf1": "omg1"} ] assert json_compare.contains(expected, actual, True)[0]
def test_contains_actual_smaller(): actual = [ {"wtf": "omg"}, {"wtf1": "omg1"} ] expected = [ {"wtf": "omg"}, {"wtf1": "omg1"}, {"wtf2": "omg2"} ] assert not json_compare.contains(expected, actual)[0]
def test_contains_actual_bigger(): actual = [ {"wtf": "omg"}, {"wtf1": "omg1"}, {"wtf3": "omg3"} ] expected = [ {"wtf": "omg"}, {"wtf1": "omg1"} ] assert json_compare.contains(expected, actual)[0]
def test_contains_actual_smaller(): actual = [{"wtf": "omg"}, {"wtf1": "omg1"}] expected = [{"wtf": "omg"}, {"wtf1": "omg1"}, {"wtf2": "omg2"}] assert not json_compare.contains(expected, actual)[0]
def test_contains_actual_bigger(): actual = [{"wtf": "omg"}, {"wtf1": "omg1"}, {"wtf3": "omg3"}] expected = [{"wtf": "omg"}, {"wtf1": "omg1"}] assert json_compare.contains(expected, actual)[0]
def test_contains_same_size4(): actual = [{"wtf": "omg"}, {"wtf1": "omg1"}] expected = [{"wtf": "omg"}, {"wtf999": "omg1"}] assert not json_compare.contains(expected, actual)[0]
def test_contains_same_size2(): actual = [{"wtf": "omg"}, {"wtf1": "omg1"}] expected = [{"wtf": "omg"}, {"wtf1": "omg1"}] assert json_compare.contains(expected, actual, True)[0]