def setUp(self): SQLManager.drop_clients_table() SQLManager.create_clients_table() SQLManager.register('Tester', '%thePassword1', '*****@*****.**') self.logged_user = SQLManager.login('Tester', '%thePassword1')
def main(): SQLManager.initialize_database(dbname='bank', user='******') SQLManager.create_clients_table() main_menu() SQLManager.close_database()