def test_create_user_table(self): """ Make sure the table can be created. """ exception = None try: BaseUser.create_table().run_sync() except Exception as e: exception = e else: BaseUser.alter().drop_table().run_sync() if exception: raise exception self.assertFalse(exception)
def tearDown(self): BaseUser.alter().drop_table().run_sync()
def tearDown(self): TokenAuth.alter().drop_table().run_sync() BaseUser.alter().drop_table().run_sync()
def tearDown(self): SessionsBase.alter().drop_table().run_sync() BaseUser.alter().drop_table().run_sync()