Now that the backported `mock` module has been pushed to next, this can follow the import convention:

```
from autotest.client.shared.mock import MagicMock, patch
```