예제 #1
0
def main():
    Test().testEverything()

    repo = FacultyRepository()
    controller = FacultyController(repo)
    app = FacultyApplication(controller)
    app.run()
예제 #2
0
def main():
    Test().testEverything()

    while True:
        command = input("memory or file? ")
        if command == 'memory':
            repo = FacultyRepository(False)
            break
        if command == 'file':
            repo = FacultyRepository(True)
            break

    controller = FacultyController(repo)
    app = FacultyApplication(controller)
    app.run()
예제 #3
0
def main():
    Test().testEverything()

    app = FacultyApplication()
    app.run()