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