Fix bug in src. Should not code this early :)

pull/191/head
Michael DeHaan 13 years ago
parent 7794493952
commit c0c691089d

@ -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…
Cancel
Save