Fix uri options test to work again.

(cherry picked from commit 93d9b04f1d)
This commit is contained in:
Matt Clay 2017-03-17 21:58:02 -07:00
parent 0ca10bf3d5
commit 0e864fd81b

View file

@ -198,7 +198,7 @@
- name: Assert we got an allow header - name: Assert we got an allow header
assert: assert:
that: that:
- 'result.allow|default("") == "HEAD, OPTIONS, GET"' - 'result.allow.split(", ")|sort == ["GET", "HEAD", "OPTIONS"]'
# Ubuntu12.04 doesn't have python-urllib3, this makes handling required dependencies a pain across all variations # Ubuntu12.04 doesn't have python-urllib3, this makes handling required dependencies a pain across all variations
# We'll use this to just skip 12.04 on those tests. We should be sufficiently covered with other OSes and versions # We'll use this to just skip 12.04 on those tests. We should be sufficiently covered with other OSes and versions