def tearDown(self):
self.assertEqual(len(self.managers), self.run_count)<EOL>for _, objects in self.managers.items():<EOL><INDENT>self.loop.run_until_complete(objects.close())<EOL><DEDENT>self.loop.close()<EOL>for _, objects in self.managers.items():<EOL><INDENT>with self.manager(objects, allow_sync=True):<EOL><INDENT>for model in reversed(self.models):<EOL><INDENT>model.drop_table(fail_silently=True)<EOL><DEDENT><DEDENT><DEDENT>self.managers = None<EOL>
Check if test was actually passed by counter, clean up.