Revert "update action unit test for powershell shebang behavior"

This reverts commit 637f6f23e1.
This commit is contained in:
nitzmahone 2016-07-11 13:23:04 -07:00
parent 637f6f23e1
commit e7690b0dd1

View file

@ -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, u'#!powershell')
self.assertEqual(shebang, None)
# test module not found
self.assertRaises(AnsibleError, action_base._configure_module, 'badmodule', mock_task.args)