Skip to content

Commit

Permalink
Fix autospec
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Feb 9, 2023
1 parent 5536d32 commit 1ded368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ut/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def reset_caches():

@pytest.fixture
def mock_cache(mocker):
return create_autospec(BaseCache, instance=True)
return create_autospec(BaseCache(), spec_set=True)


@pytest.fixture
Expand Down

0 comments on commit 1ded368

Please sign in to comment.