Test out py26 with new HTTPretty
This commit is contained in:
parent
fe1f3ec06c
commit
3bddbb4af3
23 changed files with 81 additions and 68 deletions
|
|
@ -46,7 +46,7 @@ class BaseResponse(object):
|
|||
status = new_headers.pop('status', 200)
|
||||
headers.update(new_headers)
|
||||
return status, headers, body
|
||||
raise NotImplementedError("The {} action has not been implemented".format(action))
|
||||
raise NotImplementedError("The {0} action has not been implemented".format(action))
|
||||
|
||||
|
||||
def metadata_response(request, full_url, headers):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue