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)
|
path = os.path.expanduser(path)
|
||||||
src = params.get('src', None)
|
src = params.get('src', None)
|
||||||
if src:
|
if src:
|
||||||
path = os.path.expanduser(src)
|
src = os.path.expanduser(src)
|
||||||
dest = params.get('dest', None)
|
dest = params.get('dest', None)
|
||||||
mode = params.get('mode', None)
|
mode = params.get('mode', None)
|
||||||
owner = params.get('owner', None)
|
owner = params.get('owner', None)
|
||||||
|
|
|
@ -140,7 +140,9 @@ class TestPlaybook(unittest.TestCase):
|
||||||
callbacks = self.test_callbacks,
|
callbacks = self.test_callbacks,
|
||||||
runner_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):
|
def test_one(self):
|
||||||
pb = os.path.join(self.test_dir, 'playbook1.yml')
|
pb = os.path.join(self.test_dir, 'playbook1.yml')
|
||||||
|
|
Loading…
Reference in a new issue