forked from TrueCloudLab/s3-tests
Merge pull request #217 from cbodley/wip-unpin-requests
unpin the requests library version
This commit is contained in:
commit
f783f4294b
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ bunch >=1.0.0
|
||||||
# 0.14 switches to libev, that means bootstrap needs to change too
|
# 0.14 switches to libev, that means bootstrap needs to change too
|
||||||
gevent >=1.0
|
gevent >=1.0
|
||||||
isodate >=0.4.4
|
isodate >=0.4.4
|
||||||
requests ==0.14.0
|
requests >=0.14.0
|
||||||
pytz >=2011k
|
pytz >=2011k
|
||||||
ordereddict
|
ordereddict
|
||||||
httplib2
|
httplib2
|
||||||
|
|
|
@ -5871,8 +5871,8 @@ def _cors_request_and_check(func, url, headers, expect_status, expect_allow_orig
|
||||||
r = func(url, headers=headers)
|
r = func(url, headers=headers)
|
||||||
eq(r.status_code, expect_status)
|
eq(r.status_code, expect_status)
|
||||||
|
|
||||||
assert r.headers['access-control-allow-origin'] == expect_allow_origin
|
assert r.headers.get('access-control-allow-origin', None) == expect_allow_origin
|
||||||
assert r.headers['access-control-allow-methods'] == expect_allow_methods
|
assert r.headers.get('access-control-allow-methods', None) == expect_allow_methods
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue