diff --git a/tests/integration/shell/enabled.py b/tests/integration/shell/enabled.py index eb86c0959b..9e80a63d5e 100644 --- a/tests/integration/shell/enabled.py +++ b/tests/integration/shell/enabled.py @@ -57,7 +57,7 @@ class EnabledTest(integration.ModuleCase): try: salt.utils.fopen(state_file, 'w').write(textwrap.dedent('''\ - {{% set shell_enabled = salt['cmd.run']("{0}") %}} + {{% set shell_enabled = salt['cmd.run']("{0}").strip() %}} shell_enabled: test.configurable_test_state: