Not necessarily: I was talking about using the [`mock`](http://www.voidspace.org.uk/python/mock/) testing library in Python. If you're not familiar with how to use it, I can show you how, if you'd like. In this test, you'd want to use the [`mock.patch`](http://www.voidspace.org.uk/python/mock/patch.html#patch) decorator to replace the value of `host` with whatever value you specify for the duration of this test.