mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
src/test.py: Why would a test server create a socket?
This commit is contained in:
parent
13a633eea4
commit
20ad495483
@ -584,7 +584,6 @@ class FakeHTTPConnection(httplib.HTTPConnection):
|
|||||||
httplib.HTTPConnection.__init__(self, 'localhost')
|
httplib.HTTPConnection.__init__(self, 'localhost')
|
||||||
self.rfile = rfile
|
self.rfile = rfile
|
||||||
self.wfile = wfile
|
self.wfile = wfile
|
||||||
self.connect()
|
|
||||||
def send(self, data):
|
def send(self, data):
|
||||||
self.wfile.write(data)
|
self.wfile.write(data)
|
||||||
#def putheader(self, name, value):
|
#def putheader(self, name, value):
|
||||||
|
Loading…
Reference in New Issue
Block a user