Bug 1064977: Add ability to use ET sandbox environment.

@Osmose r?
Since you're not using the mock again you could just pass it directly to the test function:

```python
test_function(Mock(client=None))
```