From 93d9b04f1d0bba312e62ddc2bfa1dbbf6c0b9177 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 17 Mar 2017 21:58:02 -0700 Subject: [PATCH] Fix uri options test to work again. --- test/integration/targets/uri/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/uri/tasks/main.yml b/test/integration/targets/uri/tasks/main.yml index 30fd46eb13..cd1ded96f3 100644 --- a/test/integration/targets/uri/tasks/main.yml +++ b/test/integration/targets/uri/tasks/main.yml @@ -198,7 +198,7 @@ - name: Assert we got an allow header assert: 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 # We'll use this to just skip 12.04 on those tests. We should be sufficiently covered with other OSes and versions