Merge "Use created container in unit test"

This commit is contained in:
Jenkins 2013-10-01 05:48:56 +00:00 committed by Gerrit Code Review
commit d7bab86619
1 changed files with 2 additions and 2 deletions

View File

@ -3712,7 +3712,7 @@ class TestObjectController(unittest.TestCase):
# put an object in it
sock = connect_tcp(('localhost', prolis.getsockname()[1]))
fd = sock.makefile()
fd.write('PUT /v1/a/c/o HTTP/1.1\r\n'
fd.write('PUT /v1/a/con/o HTTP/1.1\r\n'
'Host: localhost\r\n'
'Connection: close\r\n'
'X-Storage-Token: t\r\n'
@ -3729,7 +3729,7 @@ class TestObjectController(unittest.TestCase):
etag = md5("abcdefghij").hexdigest()
sock = connect_tcp(('localhost', prolis.getsockname()[1]))
fd = sock.makefile()
fd.write('GET /v1/a/c/o HTTP/1.1\r\n' +
fd.write('GET /v1/a/con/o HTTP/1.1\r\n' +
'Host: localhost\r\n' +
'Connection: close\r\n' +
'X-Storage-Token: t\r\n' +