Skip to content

Commit

Permalink
test: Update instance_inventory test assertions (#631)
Browse files Browse the repository at this point in the history
* gha test

* gha test 2

* gha test 3

* gha test 4

* gha test 4

* add smoke test suite

* Update assertions
  • Loading branch information
ykim-akamai authored Dec 9, 2024
1 parent 6adb83f commit 9729ec7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
assert:
that:
- '"ansible-test-inventory" in hostvars'
- hostvars | length == 1
- hostvars | length > 0
- '"networking_info" in hostvars["ansible-test-inventory"]'
- '"ipv4" in hostvars["ansible-test-inventory"]["networking_info"]'
- '"ipv6" in hostvars["ansible-test-inventory"]["networking_info"]'
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
assert:
that:
- '"ansible-test-inventory" in hostvars'
- hostvars | length == 1
- hostvars | length > 0

0 comments on commit 9729ec7

Please sign in to comment.