summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCaptTrews <capttrews@gmail.com>2019-09-20 00:12:55 +0000
committerCaptTrews <capttrews@gmail.com>2019-09-20 00:12:55 +0000
commita0333117eddd25ec1dcb8302a5ae322ccbe1029d (patch)
tree92d21c41c8bbbfb85e83a21b3af8c7b5b2b6c294 /tests
parent75582948949168ca2eaa04413db09298c52ada95 (diff)
downloadvyos-ansible-collection-a0333117eddd25ec1dcb8302a5ae322ccbe1029d.tar.gz
vyos-ansible-collection-a0333117eddd25ec1dcb8302a5ae322ccbe1029d.zip
Updated from network content collector
Signed-off-by: CaptTrews <capttrews@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/targets/vyos_lag_interfaces/tests/cli/empty_config.yaml6
-rw-r--r--tests/integration/targets/vyos_lldp_global/tests/cli/empty_config.yaml4
-rw-r--r--tests/integration/targets/vyos_lldp_interfaces/tests/cli/empty_config.yaml6
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/integration/targets/vyos_lag_interfaces/tests/cli/empty_config.yaml b/tests/integration/targets/vyos_lag_interfaces/tests/cli/empty_config.yaml
index 50f6d97..c222354 100644
--- a/tests/integration/targets/vyos_lag_interfaces/tests/cli/empty_config.yaml
+++ b/tests/integration/targets/vyos_lag_interfaces/tests/cli/empty_config.yaml
@@ -11,7 +11,7 @@
- assert:
that:
- - result.msg == 'config is required for state merged'
+ - result.msg == 'value of config parameter must not be empty for state merged'
- name: Replaced with empty config should give appropriate error message
vyos.vyos.vyos_lag_interfaces:
@@ -22,7 +22,7 @@
- assert:
that:
- - result.msg == 'config is required for state replaced'
+ - result.msg == 'value of config parameter must not be empty for state replaced'
- name: Overridden with empty config should give appropriate error message
vyos.vyos.vyos_lag_interfaces:
@@ -33,4 +33,4 @@
- assert:
that:
- - result.msg == 'config is required for state overridden'
+ - result.msg == 'value of config parameter must not be empty for state overridden'
diff --git a/tests/integration/targets/vyos_lldp_global/tests/cli/empty_config.yaml b/tests/integration/targets/vyos_lldp_global/tests/cli/empty_config.yaml
index 2497015..5bac638 100644
--- a/tests/integration/targets/vyos_lldp_global/tests/cli/empty_config.yaml
+++ b/tests/integration/targets/vyos_lldp_global/tests/cli/empty_config.yaml
@@ -11,7 +11,7 @@
- assert:
that:
- - result.msg == 'config is required for state merged'
+ - result.msg == 'value of config parameter must not be empty for state merged'
- name: Replaced with empty config should give appropriate error message
vyos.vyos.vyos_lldp_global:
@@ -22,4 +22,4 @@
- assert:
that:
- - result.msg == 'config is required for state replaced'
+ - result.msg == 'value of config parameter must not be empty for state replaced'
diff --git a/tests/integration/targets/vyos_lldp_interfaces/tests/cli/empty_config.yaml b/tests/integration/targets/vyos_lldp_interfaces/tests/cli/empty_config.yaml
index 9711791..4afb7fe 100644
--- a/tests/integration/targets/vyos_lldp_interfaces/tests/cli/empty_config.yaml
+++ b/tests/integration/targets/vyos_lldp_interfaces/tests/cli/empty_config.yaml
@@ -11,7 +11,7 @@
- assert:
that:
- - result.msg == 'config is required for state merged'
+ - result.msg == 'value of config parameter must not be empty for state merged'
- name: Replaced with empty config should give appropriate error message
vyos.vyos.vyos_lldp_interfaces:
@@ -22,7 +22,7 @@
- assert:
that:
- - result.msg == 'config is required for state replaced'
+ - result.msg == 'value of config parameter must not be empty for state replaced'
- name: Overridden with empty config should give appropriate error message
vyos.vyos.vyos_lldp_interfaces:
@@ -33,4 +33,4 @@
- assert:
that:
- - result.msg == 'config is required for state overridden'
+ - result.msg == 'value of config parameter must not be empty for state overridden'