commit | 7ca5d3afe293d5e4d769c1cb2dfccb0688ba1292 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Mar 11 22:17:48 2016 +0100 |
committer | Robert Collins <rbtcollins@hp.com> | Wed Mar 23 19:01:40 2016 +1300 |
tree | aab79c55e4f745ea1a3224d4aba014f978a6a20b | |
parent | e966658bb362b3d70aad6e269abbf29a84ac5316 [diff] [blame] |
Add Mock.assert_called() Issue #26323: Add assert_called() and assert_called_once() methods to unittest.mock.Mock.
diff --git a/NEWS b/NEWS index 2e13b8a..2120418 100644 --- a/NEWS +++ b/NEWS
@@ -1,6 +1,9 @@ Library ------- +- Issue #26323: Add Mock.assert_called() and Mock.assert_called_once() + methods to unittest.mock. Patch written by Amit Saha. + - Issue #22138: Fix mock.patch behavior when patching descriptors. Restore original values after patching. Patch contributed by Sean McCully.