Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update differential tests #280

Closed
sean-m-sullivan opened this issue Mar 11, 2022 · 1 comment
Closed

Update differential tests #280

sean-m-sullivan opened this issue Mar 11, 2022 · 1 comment

Comments

@sean-m-sullivan
Copy link
Collaborator

Update differential tests to be able to use a different search or no search and be able to do the following objects
group, host, workflow_job_template_node, user

Example code work that should work without the org being searched

  - name: groups
    query_params: ''
    with_present: false
    differential_test_items:
      - name: group1
        inventory: satlab-admin-inventory
      - name: group2
        inventory: satlab-admin-inventory
      - name: group3
        inventory: satlab-admin-inventory
    expected_test_result:
      - name: sat_lab_group
        inventory: satlab-admin-inventory
        state: absent
  - name: hosts
    with_present: false
    query_params: 'inventory: 7'
    differential_test_items:
      - name: localhost
        inventory: localhost
      - name: PSQL1
        inventory: satlab-admin-inventory
      - name: PSQL2
        inventory: satlab-admin-inventory
    expected_test_result:
      - name: PSQL3
        inventory: satlab-admin-inventory
        state: absent
@djdanielsson
Copy link
Collaborator

this will be tracked in redhat-cop/aap_configuration_extended#31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants