Message330966
I see 2 most applicable ways to do it:
- Hide .parent and .name by mangling
- Define them within the mock class definition scope, but not within the class itself.
As long as those are accessed only from within the mock class, I think second method would be better as it would completely remove them from mock's attributes. |
|
Date |
User |
Action |
Args |
2018-12-03 18:38:20 | and3rson | set | recipients:
+ and3rson, cjw296, michael.foord, mariocj89 |
2018-12-03 18:38:20 | and3rson | set | messageid: <1543862300.85.0.788709270274.issue35357@psf.upfronthosting.co.za> |
2018-12-03 18:38:20 | and3rson | link | issue35357 messages |
2018-12-03 18:38:20 | and3rson | create | |
|