|
|
|
Some time ago I sent a patch that enables using @patch to mock non existing attributes[0]. It 'd be nice if you could review it when you have time!
And again, thanks for this excellent module 
[0] http://code.google.com/p/mock/is...ues/detail?
id=3
Christos Trochalakis |
Homepage |
08/08/02 - 8:07 am | #
|
|
There are a few issues and patches over on the google code page that I didn't realise were there! I'll look at all of these.
Being able to patch non-existent attributes seems like a reasonable call - and would help with TDD where you want to write a test for something that doesn't yet exist.
The only problem is that it means that you can write tests that pass when the actual code doesn't work!
Thanks
Michael
Michael Foord |
Homepage |
08/08/02 - 10:33 am | #
|
|
|
Commenting by HaloScan
|