diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-11 21:17:48 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-11 21:17:48 (GMT) |
commit | 2c2a4e63d794eb55e9163322ea11b9765e9e0db5 (patch) | |
tree | 220e3dd3c738935ee81a2e80fa733e4f650c07a9 /Misc | |
parent | 82442b7022fbc438983eb4e973418357e3eec1e2 (diff) | |
download | cpython-2c2a4e63d794eb55e9163322ea11b9765e9e0db5.zip cpython-2c2a4e63d794eb55e9163322ea11b9765e9e0db5.tar.gz cpython-2c2a4e63d794eb55e9163322ea11b9765e9e0db5.tar.bz2 |
Add Mock.assert_called()
Issue #26323: Add assert_called() and assert_called_once() methods to
unittest.mock.Mock.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -1267,6 +1267,7 @@ Bernt Røskar Brenna Constantina S. Patrick Sabin Sébastien Sablé +Amit Saha Suman Saha Hajime Saitou George Sakkis @@ -201,6 +201,9 @@ Core and Builtins Library ------- +- Issue #26323: Add Mock.assert_called() and Mock.assert_called_once() + methods to unittest.mock. Patch written by Amit Saha. + - Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise NotImplementedError instead of ImportError. |