Skip to content

Commit

Permalink
Fix assert for policy create response in IT (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenramoorthy authored Feb 28, 2024
1 parent 2229682 commit 8f44be8
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -165,7 +165,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -250,7 +250,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -336,7 +336,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -418,7 +418,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -105,7 +105,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -187,7 +187,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -255,7 +255,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -326,7 +326,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -392,7 +392,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -91,7 +91,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -184,7 +184,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down Expand Up @@ -139,7 +139,7 @@
- assert:
that:
- 'item["RETURN_CODE"] == 200'
- '"is created successfully" in item["DATA"]["successList"][0]["message"]'
- '"Success" in item["DATA"]["successList"][0]["status"]'
when: (my_idx < (result["diff"][0]["merged"] | length))
loop: '{{ result.response }}'
loop_control:
Expand Down

0 comments on commit 8f44be8

Please sign in to comment.