Beispiel #1
0
 def _teardown_registry(class_or_instance):
     ComponentRegistryCase._teardown_registry(class_or_instance)
     http.controllers_per_module = class_or_instance._controllers_per_module
     db_name = get_db_name()
     _component_databases[db_name] = class_or_instance._original_components
     _rest_services_databases[
         db_name] = class_or_instance._original_services_registry
Beispiel #2
0
 def tearDown(self):
     ComponentRegistryCase._teardown_registry(self)
     super(TestMapper, self).tearDown()