For better symmetry, and make sure this happens in all the various invocations of `py.test`, I think this should be in the `pytest_unconfigure` hook (which we don't currently have).  Just add this to `pytest_plugins.py` (with comments and the necessary imports):

```
def pytest_unconfigure():
    turn_on_internet()
```