

def __init__(self, port=8000):
    "Initializes the mock server on localhost port 8000.  Use\n        urllib2.urlopen('http://localhost:8000') to reach the test\n        server.  The constructor takes a 'port=<int>' argument if you\n        want the server to listen on a different port."
    wsgi_intercept.add_wsgi_intercept('localhost', self, self.interceptor)
    wsgi_urllib2.install_opener()

dataset/ETHPy150Open wesabe/fixofx/3rdparty/wsgi_intercept/mock_http.py MockHttpServer.__init__/VarMisuse@22/117 `port`->`self`