summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornitzmahone <mdavis@ansible.com>2016-07-11 12:38:18 -0700
committernitzmahone <mdavis@ansible.com>2016-07-11 12:38:18 -0700
commitde549ad675bad59559cefb9f3049ace46310f27e (patch)
treea009a04444f7a436101d8ae8308088855befbb1b
parent31e963dd2a499a9c6eca8c5f30b480a9b867f84b (diff)
downloadansible-de549ad675bad59559cefb9f3049ace46310f27e.tar.gz
update action unit test for powershell shebang behavior
-rw-r--r--test/units/plugins/action/test_action.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/plugins/action/test_action.py b/test/units/plugins/action/test_action.py
index 83919827d4..44358cf22d 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, path) = 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)