Message53817
I previously submitted a patch (sf id 706590),
since I was following www.python.com's notes on how
to contribute - since using sf more i think i should of
added it to this RFE. Since posting the orignal patch I
have updated the code based upon sugestions from
python-dev and others.
please view my origanal patch here:
https://sourceforge.net/tracker/index.php?
func=detail&aid=706590&group_id=5470&atid=305470
This patch adds one method - createMockInstance
(classDef, overrides, *initArgs, **initKwds)
to unittest.TestCase, and two classes MockFactory and
MockMethod.
Since both these classes should never really be used
outside the scope of a unittest, I thought it best to add
them to the unittest module (allthough it is getting rather
big - should be split into a package?)
|
|
Date |
User |
Action |
Args |
2007-08-23 16:06:31 | admin | link | issue708125 messages |
2007-08-23 16:06:31 | admin | create | |
|