Skip to content

Commit

Permalink
[common] Rename the test for projects
Browse files Browse the repository at this point in the history
  • Loading branch information
elfiesmelfie committed Dec 11, 2024
1 parent c9ff38b commit 0230bac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/common/tasks/project_tests.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
- name: Verify project "{{ item }}"
- name: Get the {{ item }} project
ansible.builtin.shell:
cmd: |
oc get project "{{ item }}"
changed_when: false
register: output

- name: |
TEST Verify {{ item }} project is found
"{{ common_project_test_id }}"
TEST Verify {{ item }} project exists
{{ common_project_test_id }}
ansible.builtin.assert:
that:
- "'NotFound' not in output.stderr"
Expand Down

0 comments on commit 0230bac

Please sign in to comment.