Message216311
You can use kwargs.pop instead of the two step fetch and delete.
For the test, could you add an assert that the name is used. Can you add an extra underscore to the method name, to make it: test_create_autospec_with_name |
|
Date |
User |
Action |
Args |
2014-04-15 15:37:44 | michael.foord | set | recipients:
+ michael.foord, kushal.das |
2014-04-15 15:37:44 | michael.foord | set | messageid: <1397576264.51.0.66624016785.issue21222@psf.upfronthosting.co.za> |
2014-04-15 15:37:44 | michael.foord | link | issue21222 messages |
2014-04-15 15:37:44 | michael.foord | create | |
|