Beispiel #1
0
    def testRepo(self):
        """
            Method tests the Repository class.
        """
        repo = FacultyRepository(False)
        repo.duplicateCurrentState()

        assert len(repo.getStates()) == 2
Beispiel #2
0
    def testRepo(self):
        repo = FacultyRepository(True)
        repo.duplicateCurrentState()

        assert len(repo.getStates()) == 2