def setUp(self): self.resolver = ansible.AnsibleModuleResolver({}) self.resolver._modules_map = { 'one.two.three': os.sep + os.path.join('one', 'two', 'three.py'), 'four.five.six': os.sep + os.path.join('four', 'five', 'six.py'), 'three.six.one': os.sep + os.path.join('three', 'six', 'one.py'), }
def setUp(self): self.resolver = ansible.AnsibleModuleResolver({}) self.resolver._modules_map = { "one.two.three": os.sep + os.path.join("one", "two", "three.py"), "four.five.six": os.sep + os.path.join("four", "five", "six.py"), "three.six.one": os.sep + os.path.join("three", "six", "one.py"), }
def setUp(self): self.resolver = ansible.AnsibleModuleResolver({}) self.resolver._modules_map = { 'one.two.three': '/one/two/three.py', 'four.five.six': '/four/five/six.py', 'three.six.one': '/three/six/one.py', }
def resolver(): _resolver = ansible.AnsibleModuleResolver({}) _resolver._modules_map = { "one.two.three": os.sep + os.path.join("one", "two", "three.py"), "four.five.six": os.sep + os.path.join("four", "five", "six.py"), "three.six.one": os.sep + os.path.join("three", "six", "one.py"), } return _resolver