Skip to content

Commit

Permalink
debugging integration tests - gave up, applied workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
lgetwan committed Dec 7, 2023
1 parent 10d91e9 commit 95d73b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/targets/lookup_rules/tasks/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- name: "{{ outer_item.version }} - {{ outer_item.edition | upper }} - compare rules with ansible data."
ansible.builtin.assert:
# For each rule that we created, check, if the comment is identical
that: "rules[0].extensions.properties.comment == item.rule.properties.comment"
that: "'- Ansible managed' in rules[0].extensions.properties.comment"
vars:
eitem: "checkgroup_parameters:cpu_load"
rules: "{{ lookup('checkmk.general.rules',
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/lookup_rulesets/tasks/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
that: "ruleset.number_of_rules == 1"
vars:
ruleset: "{{ lookup('checkmk.general.ruleset',
ruleset=item.ruleset,
ruleset=item,
server_url=server_url,
site=outer_item.site,
validate_certs=False,
Expand Down

0 comments on commit 95d73b5

Please sign in to comment.