def test_init(self):
     entity = Operator()
Exemplo n.º 2
0
        elif user_input == 4:
            new_op.printByMonth()
            
        elif user_input == 5:
            new_op.printByDay()
            
        else:
            print("Please enter an option from the menu")
        
        print("")
        user_input = getUserInputFromMenu(menu)
    

flag = True
user_input = 0
new_op = Operator()
new_op.loadOperators()

if len(new_op.list_of_operators) != 0:
    flag = False
    user_input = mainMenu()

while flag == False:
    if user_input == 3:
        flag = True
        break
        
    elif user_input == 1:
        managerMenu(new_op)
    
    elif user_input == 2: