Good point about dependency injection in a talk "Stop Mocking, Start Testing" by Augie Fackler, Nathaniel Manista (PyCon US 2012)
Felt a second of guilty as I had just an hour ago written code to do *just that*;
someobj = someobj or SomeClass()
And tapped myself on the shoulder for "using dependency injection and making testing easy".
