def test_drop_tables(self): """ Make sure the tables are dropped. """ self.assertEqual(Manager.table_exists().run_sync(), True) self.assertEqual(Band.table_exists().run_sync(), True) drop_tables(Manager, Band) self.assertEqual(Manager.table_exists().run_sync(), False) self.assertEqual(Band.table_exists().run_sync(), False)
def tearDown(self): drop_tables(Migration, TableA, TableB)
def tearDown(self): drop_tables(Migration, Band, Genre, GenreToBand)
def tearDown(self): drop_tables(*TABLES)
def tearDown(self): drop_tables(Manager, Band)
def tearDown(self): drop_tables(*SIMPLE_SCHEMA)
def tearDown(self): drop_tables(*COMPLEX_SCHEMA)
def tearDown(self): drop_tables(*CUSTOM_PK_SCHEMA)