def teardown_method(self, method):
     TestCase.teardown_method(self, method)
     self.context.pop()
     self.context = None
     self.client = None
     self.app = None
Пример #2
0
 def teardown_method(self, method):
     TestCase.teardown_method(self, method)
     self.context.pop()
     self.context = None
     self.client = None
     self.app = None
 def teardown_method(self, method):
     TestCase.teardown_method(self, method)
     search_manager.options['regconfig'] = 'pg_catalog.english'
Пример #4
0
 def teardown_method(self, method):
     TestCase.teardown_method(self, method)
     generator.reset()
Пример #5
0
 def teardown_method(self, method):
     TestCase.teardown_method(self, method)
     sa.event.remove(sa.orm.Session, 'before_flush', self.before_flush)
 def teardown_method(self, method):
     TestCase.teardown_method(self, method)
     translation_manager.options["auto_created_locales"] = []