I've removed this, it's not longer used. I think I wrote this last year before I knew about mock.MagicMock()