mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix bug in src. Should not code this early :)
This commit is contained in:
parent
7794493952
commit
c0c691089d
2 changed files with 4 additions and 2 deletions
|
@ -93,7 +93,7 @@ if path:
|
|||
path = os.path.expanduser(path)
|
||||
src = params.get('src', None)
|
||||
if src:
|
||||
path = os.path.expanduser(src)
|
||||
src = os.path.expanduser(src)
|
||||
dest = params.get('dest', None)
|
||||
mode = params.get('mode', None)
|
||||
owner = params.get('owner', None)
|
||||
|
|
|
@ -140,7 +140,9 @@ class TestPlaybook(unittest.TestCase):
|
|||
callbacks = self.test_callbacks,
|
||||
runner_callbacks = self.test_callbacks
|
||||
)
|
||||
return self.playbook.run()
|
||||
result = self.playbook.run()
|
||||
print utils.bigjson(dict(events=EVENTS))
|
||||
return result
|
||||
|
||||
def test_one(self):
|
||||
pb = os.path.join(self.test_dir, 'playbook1.yml')
|
||||
|
|
Loading…
Reference in a new issue