Require Mock>=0.7.0 for MagicMock. Require nosetests>=1.3.1 to fix the setUpClass bug on Python 2.6 .