mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Skip test_module_utils_basic_ansible_module_creation on Python 3
This reverts commit 073f10a52a
and instead
disables the failing test.
We're focusing on Python 3 support on the controller first; modules will
come later.
This commit is contained in:
parent
073f10a52a
commit
225fe85530
2 changed files with 4 additions and 5 deletions
|
@ -21,6 +21,7 @@ from __future__ import (absolute_import, division)
|
|||
__metaclass__ = type
|
||||
|
||||
import errno
|
||||
import sys
|
||||
|
||||
from six.moves import builtins
|
||||
|
||||
|
@ -220,7 +221,8 @@ class TestModuleUtilsBasic(unittest.TestCase):
|
|||
from ansible.module_utils.basic import get_module_path
|
||||
with patch('os.path.realpath', return_value='/path/to/foo/'):
|
||||
self.assertEqual(get_module_path(), '/path/to/foo')
|
||||
|
||||
|
||||
@unittest.skipIf(sys.version_info[0] >= 3, "Python 3 is not supported on targets (yet)")
|
||||
def test_module_utils_basic_ansible_module_creation(self):
|
||||
from ansible.module_utils import basic
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue