Skip to content

Commit

Permalink
Merge pull request #6297 from squidboylan/collection_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarefactory-project-zuul[bot] committed Mar 16, 2020
2 parents 1e780aa + ef223b0 commit 47ff56c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@
that:
- "result is failed"

- name: create a smart inventory
tower_inventory:
name: smart-inventory
organization: Default
kind: smart
host_filter: name=foo
register: result

- assert:
that:
- "result is changed"

- name: Delete an Inventory
tower_inventory:
name: my-inventory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
tower_workflow_template:
name: my-workflow
schema: [{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]
extra_vars: {'foo': 'bar', 'another-foo': {'barz': 'bar2'}}
register: result

- assert:
Expand Down

0 comments on commit 47ff56c

Please sign in to comment.