diff --git a/tests/Settings/TestGlobalStack.py b/tests/Settings/TestGlobalStack.py index c501e6aee0..89816ed678 100644 --- a/tests/Settings/TestGlobalStack.py +++ b/tests/Settings/TestGlobalStack.py @@ -48,7 +48,7 @@ class MockContainer: propertyChanged = unittest.mock.MagicMock() ## Fake container registry that always provides all containers you ask of. -@pytest.fixture() +@pytest.yield_fixture() def container_registry(): registry = unittest.mock.MagicMock()