1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

- fixed testsuite

This commit is contained in:
Marcus Huewe 2010-11-30 19:11:05 +01:00
parent 54a0d80abe
commit 1a0cea8a4d

View File

@ -72,7 +72,7 @@ class MyHTTPHandler(urllib2.HTTPHandler):
f = StringIO.StringIO(kwargs['text'])
else:
raise RuntimeError('either specify text or file')
resp = urllib2.addinfourl(f, '', url)
resp = urllib2.addinfourl(f, {}, url)
resp.code = 200
resp.msg = ''
return resp