Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
830b43d03cc47a27a22a50d777f23c8e60820867
/
Lib
/
unittest
/
test
/
testmock
/
testmock.py
830b43d
bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790)
by Xtreak
· 5 years ago
b0df45e
bpo-21269: Provide args and kwargs attributes on mock call objects GH11807
by Kumar Akshay
· 5 years ago
9c3f284
Autospec functions should propagate mock calls to parent GH-11273
by Xtreak
· 6 years ago
2bdd585
bpo-35500: align expected and actual calls on mock.assert_called_with error message. (GH-11804)
by Susan Su
· 6 years ago
222d303
bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)
by Pablo Galindo
· 6 years ago
f05df0a
bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)
by Mario Corchero
· 6 years ago
e63e617
bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (#10873)
by Andrew Dunai
· 6 years ago
8ca0fa9
bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)
by Chris Withers
· 6 years ago
edeca92
bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)
by Xtreak
· 6 years ago
47d9424
bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures (GH-10090)
by Petter Strandmark
· 6 years ago
2087023
bpo-32933: Implement __iter__ method on mock_open() (GH-5974)
by Tony Flury
· 6 years ago
a203360
Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.
by Serhiy Storchaka
· 8 years ago
362f058
Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.
by Serhiy Storchaka
· 8 years ago
9cd39a1
Issue #21271: Adds new keyword only parameters in reset_mock call
by Kushal Das
· 8 years ago
c85dd85
Issue #26807: mock_open 'files' no longer error on readline at end of file.
by Robert Collins
· 8 years ago
9549a3e
Issue #26807: mock_open 'files' no longer error on readline at end of file.
by Robert Collins
· 8 years ago
5a6c018
Issue #25195: Fix a regression in mock.MagicMock
by Berker Peksag
· 8 years ago
ce91387
Issue #25195: Fix a regression in mock.MagicMock
by Berker Peksag
· 8 years ago
2c2a4e6
Add Mock.assert_called()
by Victor Stinner
· 9 years ago
29bf4d4
Issue #24857: Comparing call_args to a long sequence now correctly returns a
by Berker Peksag
· 9 years ago
3fc536f
Issue #24857: Comparing call_args to a long sequence now correctly returns a
by Berker Peksag
· 9 years ago
ca647ef
Issue #21750: Further fixup to be styled like other mock APIs.
by Robert Collins
· 9 years ago
5329aaa
Issue #21750: mock_open.read_data can now be read from each instance, as it
by Robert Collins
· 9 years ago
b37f43f
- Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
by Robert Collins
· 9 years ago
88ba360
Issue #21750: Further fixup to be styled like other mock APIs.
by Robert Collins
· 9 years ago
4838717
Issue #21750: mock_open.read_data can now be read from each instance, as it
by Robert Collins
· 9 years ago
76d508b
- Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
by Robert Collins
· 9 years ago
f58f88c
Issue #23661: unittest.mock side_effects can now be exceptions again.
by Robert Collins
· 9 years ago
a37b958
Closes #21270 : We now override tuple methods in mock.call objects.
by Kushal Das
· 10 years ago
130a566
Suppress a couple more DeprecationWarnings in the test suite.
by R David Murray
· 10 years ago
047f14c
Closes #21256: Printout of keyword args in deterministic order in mock calls.
by Kushal Das
· 10 years ago
484f8a8
Closes Issue 21222.
by Kushal Das
· 10 years ago
8af9db3
Closes Issue 21262: New method assert_not_called for Mock.
by Kushal Das
· 10 years ago
8c14534
Closes Issue 21238: New keyword argument `unsafe` to Mock.
by Kushal Das
· 10 years ago
01bafdc
Issue 17826. Setting an iterable side_effect on a mock created by create_autospec now works
by Michael Foord
· 10 years ago
514afeb
Merge
by Michael Foord
· 11 years ago
bc39869
Issue #19594: Use specific asserts in unittest tests.
by Serhiy Storchaka
· 11 years ago
5665bc5
Issue #19594: Use specific asserts in unittest tests.
by Serhiy Storchaka
· 11 years ago
468ec34
Remove shadowed test
by Michael Foord
· 11 years ago
356bdeb
Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules
by Antoine Pitrou
· 11 years ago
8ab1e51
Process DEFAULT values in mock side_effect that returns iterator.
by Andrew Svetlov
· 11 years ago
8b2cd75
Process DEFAULT values in mock side_effect that returns iterator.
by Andrew Svetlov
· 11 years ago
5c64df7
Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name.
by Antoine Pitrou
· 12 years ago
28d591c
Closes issue 15323. Improve failure message of Mock.assert_called_once_with
by Michael Foord
· 12 years ago
2cd4873
Closes issue 14636. mock objects raise exceptions from an iterable side_effect
by Michael Foord
· 12 years ago
83a1685
Fix another mock import
by Michael Foord
· 13 years ago
345266a
PEP 417: Adding unittest.mock
by Michael Foord
· 13 years ago