Archives week 25 of 2010
June 21, 2010 - June 27, 2010
Mocker's hidden gem...
Written by
on
in
Snaking.
Mocker has one uber-nice feature... it will mock out an object in basically all namespaces, so you can do a .proxy( 'mymodule.this.that' ) and have the resulting mock object replace the target "that" wherever it's been imported. It won't, for instance, pick up references in lists, sets and the like, but for basic namespaces (dictionaries) ...