Message298553
You can already do this, although it it somewhat of a hack:
>>> assert_called_once=Mock.assert_called_once # This will be an AttributeError
>>> assert_called_once_with=Mock.assert_called_once_with
>>> example = Mock()
>>> assert_caled_once_with(example, ...) # A NameError
>>> assert_called_once_with(example, ...) # Great success! |
|
Date |
User |
Action |
Args |
2017-07-17 20:29:52 | ppperry | set | recipients:
+ ppperry, odd_bloke, tribaal |
2017-07-17 20:29:52 | ppperry | set | messageid: <1500323392.33.0.809737695353.issue30949@psf.upfronthosting.co.za> |
2017-07-17 20:29:52 | ppperry | link | issue30949 messages |
2017-07-17 20:29:52 | ppperry | create | |
|