bkjones/unittest_helpers — pull request #1 by djt5019 (2012-07-06 13:23:14+00:00)
Title: Added new logic to MockDict ctor and fixed a nesting bug ..

with __setitem__. The constructor now properly handles the conversion of nested dictionary structures to MockDictionaries. I have also fixed a slight bug with the __setitem__ method. Originally, if you passed a MockDict structure, it would potentially be wrapped around another MockDict structure. I have added a simple check to ensure that doesn't happen.