1
0
Fork 0
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:
Michael DeHaan 2012-04-20 08:09:43 -04:00
parent 7794493952
commit c0c691089d
2 changed files with 4 additions and 2 deletions

View file

@ -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)

View file

@ -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')