Why import mock twice?

- If you do "import mock" then you can call "mock.patch".
- If you "from mock import patch" then you do "patch".

Pick one format and stick to it. This is called namespacing in some other languages.