def test_sort_2(): S = ReadAllocationData.readStdnts("textfile2.txt") sort = CalcModule.sort(S) assert sort == [{'macid': 'modih1', 'fname': 'harshil', 'lname': 'modi', 'gender': 'male', 'gpa': 12.0, 'choice': ['software', 'electrical', 'mechanical']}, {'macid': 'modih2', 'fname': 'harshil1', 'lname': 'modi1', 'gender': 'female', 'gpa': 6.0, 'choice': ['electrical', 'software', 'mechanical']}, {'macid': 'modih3', 'fname': 'harshil2', 'lname': 'modi', 'gender': 'male', 'gpa': 0.0, 'choice': ['civil', 'electrical', 'chemical']}]
def test_sort_1(): S = ReadAllocationData.readStdnts("textfile1.txt") sort = CalcModule.sort(S) assert sort == []