def setUp(self): self.cli = app.BookItShell()
def setUp(self, outs): self.cli = app.BookItShell() self.cli.connect('test_database.db') database.create_tables(self.cli.conn)
def setUp(self, outs): self.cli = app.BookItShell() self.cli.connect('test_database.db') database.create_tables(self.cli.conn) database.execute_statement(self.cli.conn, f"INSERT INTO bookings (ROOM, NAME_LASTNAME, BOOKING_DATE, CLIENT_ID) VALUES ('l-sm-y', 'test_name', '23-11-2020', '12345678J')")