def testCreateAssignment(self): assi = Assignment("234" , "this blows" , "4" , "6") assert assi.getId() == "234" assert assi.getDeadline() == "4" assert assi.getDesc() == "this blows" assert assi.getGrade() == "6"
def testIsValid(self): asg = Assignment('', '' , '4', 5) assert asg.isValid() == False assert asg.getDeadline() != ''