File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ def _setup_registry(class_or_instance):
7070 db_name = get_db_name ()
7171
7272 # makes the test component registry available for the db name
73+ class_or_instance ._original_component_databases = _component_databases .get (
74+ db_name
75+ )
7376 _component_databases [db_name ] = class_or_instance .comp_registry
7477
7578 # makes the test service registry available for the db name
@@ -145,7 +148,7 @@ def _teardown_registry(class_or_instance):
145148 class_or_instance ._controller_children_classes
146149 )
147150 db_name = get_db_name ()
148- _component_databases [db_name ] = class_or_instance ._original_components
151+ _component_databases [db_name ] = class_or_instance ._original_component_databases
149152 _rest_services_databases [
150153 db_name
151154 ] = class_or_instance ._original_services_registry
You can’t perform that action at this time.
0 commit comments