Message278208
If one defines a mock for a function, using autospec=True, then the mock will correctly support assert_called_once_with(), among others, but not assert_called_once, assert_called, and assert_not_called.
The attached file contains a fix for the issue. |
|
Date |
User |
Action |
Args |
2016-10-06 20:13:19 | Yannick Brehon | set | recipients:
+ Yannick Brehon |
2016-10-06 20:13:19 | Yannick Brehon | set | messageid: <1475784799.56.0.716869368954.issue28380@psf.upfronthosting.co.za> |
2016-10-06 20:13:19 | Yannick Brehon | link | issue28380 messages |
2016-10-06 20:13:19 | Yannick Brehon | create | |
|