def testStudentisValid(self): st = Student("5", "", "123") assert st.isValid() == False st = Student("", "Ionescu", "135") assert st.isValid() == False st = Student("52", "Ionescu", "134") assert st.isValid() == True
def testIsValid(self): st = Student('15', 'marie', '123') assert st.isValid() == True