Skip to content

Commit

Permalink
test: fix tests_cib_constraints_create formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjelinek authored and richm committed Aug 20, 2024
1 parent b129f40 commit 0c318ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/tests_cib_constraints_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@
when:
- '"pcmk.constraint.config.output-formats" in __test_pcs_capabilities'
vars:
__test_expected_lines: '
__test_expected_lines: |
{
"colocation": [],
"colocation_set": [],
Expand Down Expand Up @@ -1538,7 +1538,7 @@
"order_set": [],
"ticket": [],
"ticket_set": []
}'
}
block:
- name: Fetch location constraints configuration from the cluster
command:
Expand All @@ -1552,12 +1552,12 @@

- name: Print expected location constraints configuration
debug:
var: __test_expected_lines | from_json
var: __test_expected_lines

- name: Check location constraints configuration
assert:
that:
- __test_pcs_location_config.stdout | from_json == __test_expected_lines | from_json
- __test_pcs_location_config.stdout | from_json == __test_expected_lines

- name: Verify colocation constraints
when:
Expand Down

0 comments on commit 0c318ff

Please sign in to comment.