diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/targets/vyos_config/tests/cli/check_config.yaml | 4 | ||||
-rw-r--r-- | tests/integration/targets/vyos_config/tests/redirection/cli/shortname.yaml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/targets/vyos_config/tests/cli/check_config.yaml b/tests/integration/targets/vyos_config/tests/cli/check_config.yaml index 2df01354..5e028549 100644 --- a/tests/integration/targets/vyos_config/tests/cli/check_config.yaml +++ b/tests/integration/targets/vyos_config/tests/cli/check_config.yaml @@ -16,7 +16,7 @@ - name: Check that multiple duplicate lines collapse into a single commands assert: that: - - "{{ result.commands|length }} == 1" + - result.commands|length == 1 - name: Check that set is correctly prepended assert: @@ -52,6 +52,6 @@ - assert: that: - - "{{ result.filtered|length }} == 2" + - result.filtered|length == 2 - debug: msg="END cli/config_check.yaml on connection={{ ansible_connection }}" diff --git a/tests/integration/targets/vyos_config/tests/redirection/cli/shortname.yaml b/tests/integration/targets/vyos_config/tests/redirection/cli/shortname.yaml index f397a27c..e5bb8dda 100644 --- a/tests/integration/targets/vyos_config/tests/redirection/cli/shortname.yaml +++ b/tests/integration/targets/vyos_config/tests/redirection/cli/shortname.yaml @@ -16,7 +16,7 @@ - name: Check that multiple duplicate lines collapse into a single commands assert: that: - - "{{ result.commands|length }} == 1" + - result.commands|length == 1 - name: Check that set is correctly prepended assert: @@ -52,7 +52,7 @@ - assert: that: - - "{{ result.filtered|length }} == 2" + - result.filtered|length == 2 - name: Remove interface description and delete temp user vyos.vyos.config: &cleanup |