def testRepo(self): """ Method tests the Repository class. """ repo = FacultyRepository(False) repo.duplicateCurrentState() assert len(repo.getStates()) == 2
def testRepo(self): repo = FacultyRepository(True) repo.duplicateCurrentState() assert len(repo.getStates()) == 2