def setUp(self): super(AdminFilterTestCase, self).setUp() BDetails.drop_table(True) DModel.drop_table(True) CModel.drop_table(True) BModel.drop_table(True) AModel.drop_table(True) AModel.create_table() BModel.create_table() CModel.create_table() DModel.create_table() BDetails.create_table()