win_uri: use variable for httpbin host (#46734)
(cherry picked from commit f34f75be45
)
This commit is contained in:
parent
4546057fc8
commit
c888058973
1 changed files with 3 additions and 3 deletions
|
@ -363,7 +363,7 @@
|
||||||
|
|
||||||
- name: validate status codes as list of strings
|
- name: validate status codes as list of strings
|
||||||
win_uri:
|
win_uri:
|
||||||
url: https://httpbin.org/status/202
|
url: https://{{httpbin_host}}/status/202
|
||||||
status_code:
|
status_code:
|
||||||
- '202'
|
- '202'
|
||||||
- '418'
|
- '418'
|
||||||
|
@ -380,7 +380,7 @@
|
||||||
|
|
||||||
- name: validate status codes as comma separated list
|
- name: validate status codes as comma separated list
|
||||||
win_uri:
|
win_uri:
|
||||||
url: https://httpbin.org/status/202
|
url: https://{{httpbin_host}}/status/202
|
||||||
status_code: 202, 418
|
status_code: 202, 418
|
||||||
method: POST
|
method: POST
|
||||||
body: foo
|
body: foo
|
||||||
|
@ -391,4 +391,4 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- not request_status_code_comma.changed
|
- not request_status_code_comma.changed
|
||||||
- request_status_code_comma.status_code == 202
|
- request_status_code_comma.status_code == 202
|
||||||
|
|
Loading…
Reference in a new issue