Serhiy Storchaka
|
e437a10d15
|
Issue #23277: Remove unused imports in tests.
|
2016-04-24 21:41:02 +03:00 |
Senthil Kumaran
|
81bc927da7
|
Issue #22138: Fix mock.patch behavior when patching descriptors. Restore
original values after patching.
Patch contributed by Sean McCully.
|
2016-01-08 23:43:29 -08:00 |
Michael Foord
|
15f2d1775e
|
Merge
|
2014-04-15 17:22:22 -04:00 |
Michael Foord
|
ebc1a30d55
|
Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times.
|
2014-04-15 17:21:08 -04:00 |
Michael Foord
|
fddcfa27fa
|
Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names.
|
2014-04-14 16:25:20 -04:00 |
Antoine Pitrou
|
356bdeb0a1
|
Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules
|
2013-09-13 23:54:01 +02:00 |
Michael Foord
|
f7c4158057
|
Adding patch.stopall method to unittest.mock
|
2012-06-10 20:36:32 +01:00 |
Michael Foord
|
e58a562d93
|
unittest.mock: a mock created by patch with a spec as the list argument will be callable if __call__ is in the spec
|
2012-03-25 19:53:18 +01:00 |
Michael Foord
|
50a8c0ef5d
|
Support subclassing unittest.mock._patch and fix various obscure bugs around patcher spec arguments
|
2012-03-25 18:57:58 +01:00 |
Michael Foord
|
ebff097937
|
And another one... mock import fix.
|
2012-03-14 13:01:31 -07:00 |
Michael Foord
|
0ca9acd1dd
|
Fix import failure in mock test
|
2012-03-14 12:38:06 -07:00 |
Michael Foord
|
345266aa7e
|
PEP 417: Adding unittest.mock
|
2012-03-14 12:24:34 -07:00 |