From 61b86e7493c15a88160d0c0b955f2b08fa538a40 Mon Sep 17 00:00:00 2001 From: Warkdev Date: Sun, 8 Jan 2023 14:42:45 +0100 Subject: [PATCH] refactor assertion for suse --- .../apache2_module/tasks/635-apache2-misleading-warning.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/integration/targets/apache2_module/tasks/635-apache2-misleading-warning.yml b/tests/integration/targets/apache2_module/tasks/635-apache2-misleading-warning.yml index 5d93a9d300..eea69236c8 100644 --- a/tests/integration/targets/apache2_module/tasks/635-apache2-misleading-warning.yml +++ b/tests/integration/targets/apache2_module/tasks/635-apache2-misleading-warning.yml @@ -16,10 +16,7 @@ - assert: that: - "'warnings' in disable_mpm_modules" - - disable_mpm_modules["warnings"] == [ - "No MPM module loaded! apache2 reload AND other module actions will fail if no MPM module is loaded immediately.", - "No MPM module loaded! apache2 reload AND other module actions will fail if no MPM module is loaded immediately." - ] + - "'No MPM module loaded! apache2 reload AND other module actions will fail if no MPM module is loaded immediately.' in disable_mpm_modules['warnings']" - name: Enable MPM event module - Revert previous change apache2_module: