Reduces the amount of mocked imports for Python 3

The evolution of the code as well as the Python 3 fixes has made some of
the module mocking unnecessary.

bp python3

Change-Id: I57e535012d89ee307acd43724dd678263704596f
Merge "Reduces the amount of mocked imports for Python 3"