mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 01:16:14 +01:00
- fixed testsuite
This commit is contained in:
parent
54a0d80abe
commit
1a0cea8a4d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user