def test_case5(): sort_direction = json.load(open("case5.json", "r")) result = sort(sort_direction) assert result == []
def test_case1(): fixture = json.load(open("fixture/case1.json", "r")) sort_direction = json.load(open("case1.json", "r")) result = sort(sort_direction) assert fixture == result
def test_case4(): result = sort(None) assert result == "Ordering Exception"