@classmethod<EOL><INDENT>def tearDownClass(cls, *args, **kwargs):<DEDENT>
for _, database in cls.databases.items():<EOL><INDENT>cls.loop.run_until_complete(database.close_async())<EOL><DEDENT>cls.loop.close()<EOL>for _, database in cls.databases.items():<EOL><INDENT>database.set_allow_sync(True)<EOL>with cls.current_database(database):<EOL><INDENT>for model in reversed(cls.models):<EOL><INDENT>model.drop_table(fail_silently=True)<EOL><DEDENT><DEDENT>database.set_allow_sync(False)<EOL><DEDENT>cls.databases = None<EOL>
Remove all test tables and close connections.