From 70b31abf853d1f3e2b2013446642745623744208 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 3 Jan 2018 12:10:24 -0600 Subject: [PATCH] Fix tests as filters 5 (#34406) * Address recent tests as filters in win_iis_webbinding tests * Make no-tests-as-filters.py so that it is executed --- test/integration/targets/win_iis_webbinding/tasks/main.yml | 6 +++--- test/sanity/code-smell/no-tests-as-filters.py | 0 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 test/sanity/code-smell/no-tests-as-filters.py diff --git a/test/integration/targets/win_iis_webbinding/tasks/main.yml b/test/integration/targets/win_iis_webbinding/tasks/main.yml index a561112a46..3c918cb826 100644 --- a/test/integration/targets/win_iis_webbinding/tasks/main.yml +++ b/test/integration/targets/win_iis_webbinding/tasks/main.yml @@ -12,9 +12,9 @@ - include_tasks: setup.yml - include_tasks: http.yml - include_tasks: https-lt6.2.yml - when: os_version.stdout_lines[0] | version_compare('6.2','lt') + when: os_version.stdout_lines[0] is version('6.2','lt') - include_tasks: https-ge6.2.yml - when: os_version.stdout_lines[0] | version_compare('6.2','ge') + when: os_version.stdout_lines[0] is version('6.2','ge') - include_tasks: failures.yml always: @@ -59,4 +59,4 @@ - name: reboot after feature install win_reboot: when: feature_uninstall.reboot_required - when: os_version.stdout_lines[0] | version_compare('6.1','gt') + when: os_version.stdout_lines[0] is version('6.1','gt') diff --git a/test/sanity/code-smell/no-tests-as-filters.py b/test/sanity/code-smell/no-tests-as-filters.py old mode 100644 new mode 100755