summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_smoke/tests/cli/misc_tests.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/targets/vyos_smoke/tests/cli/misc_tests.yaml')
-rw-r--r--tests/integration/targets/vyos_smoke/tests/cli/misc_tests.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/integration/targets/vyos_smoke/tests/cli/misc_tests.yaml b/tests/integration/targets/vyos_smoke/tests/cli/misc_tests.yaml
new file mode 100644
index 0000000..720f95e
--- /dev/null
+++ b/tests/integration/targets/vyos_smoke/tests/cli/misc_tests.yaml
@@ -0,0 +1,13 @@
+# hit check conditional in module_utils.network.vyos -> load_config()
+- name: configure simple config command
+ vyos.vyos.vyos_config:
+ lines: set system host-name check-test
+ check_mode: yes
+
+- name: get host name
+ vyos.vyos.vyos_command:
+ commands: show host name
+ register: result
+
+- assert:
+ that: '"check-test" not in result.stdout'