diff --git a/tests/fiaas_deploy_daemon/web/test_web.py b/tests/fiaas_deploy_daemon/web/test_web.py index 1cf1ea20..a3abb997 100644 --- a/tests/fiaas_deploy_daemon/web/test_web.py +++ b/tests/fiaas_deploy_daemon/web/test_web.py @@ -11,12 +11,12 @@ @pytest.fixture def health_check(): - yield mock.create_autospec(HealthCheck) + yield mock.create_autospec(HealthCheck, spec_set=True) @pytest.fixture() def spec_factory(): - yield mock.create_autospec(SpecFactory) + yield mock.create_autospec(SpecFactory, spec_set=True) @pytest.fixture