Skip to content

Commit 7f3dd99

Browse files
committed
Merge pull request #17 from tigarmo/patch-1
Expose mock.ANY in mocker fixture
2 parents fbd1977 + 27baf71 commit 7f3dd99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest_mock.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class MockFixture(object):
1818

1919
Mock = mock_module.Mock
2020
MagicMock = mock_module.MagicMock
21+
ANY = mock_module.ANY
2122

2223
def __init__(self):
2324
self._patches = [] # list of mock._patch objects

0 commit comments

Comments
 (0)