Message53817
| Author |
mattruss |
| Recipients |
| Date |
2003年03月22日.20:05:42 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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?)
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 16:06:31 | admin | link | issue708125 messages |
| 2007年08月23日 16:06:31 | admin | create |
|