Skip to content

Commit

Permalink
Expose NonCallableMagicMock in MockerFixture
Browse files Browse the repository at this point in the history
  • Loading branch information
willfrey committed Sep 27, 2022
1 parent 0fd7fea commit 247b9d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pytest_mock/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def __init__(self, config: Any) -> None:
self.Mock = mock_module.Mock
self.MagicMock = mock_module.MagicMock
self.NonCallableMock = mock_module.NonCallableMock
self.NonCallableMagicMock = mock_module.NonCallableMagicMock
self.PropertyMock = mock_module.PropertyMock
if hasattr(mock_module, "AsyncMock"):
self.AsyncMock = mock_module.AsyncMock
Expand Down

0 comments on commit 247b9d4

Please sign in to comment.