From 637f6f23e130fe8a707813e59b919bf84433f718 Mon Sep 17 00:00:00 2001 From: nitzmahone Date: Mon, 11 Jul 2016 12:38:18 -0700 Subject: [PATCH] update action unit test for powershell shebang behavior (cherry picked from commit de549ad675bad59559cefb9f3049ace46310f27e) --- test/units/plugins/action/test_action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/plugins/action/test_action.py b/test/units/plugins/action/test_action.py index 440b2e2aaab..2420fef99d9 100644 --- a/test/units/plugins/action/test_action.py +++ b/test/units/plugins/action/test_action.py @@ -231,7 +231,7 @@ class TestActionBase(unittest.TestCase): mock_connection.module_implementation_preferences = ('.ps1',) (style, shebang, data) = action_base._configure_module('stat', mock_task.args) self.assertEqual(style, "new") - self.assertEqual(shebang, None) + self.assertEqual(shebang, u'#!powershell') # test module not found self.assertRaises(AnsibleError, action_base._configure_module, 'badmodule', mock_task.args)