Skip to content

Commit

Permalink
Use stricter mocks in web module test
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindio committed Nov 29, 2023
1 parent d854d3a commit b0d2df8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/fiaas_deploy_daemon/web/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0d2df8

Please sign in to comment.