update ret['changes'] for test-run

This commit is contained in:
Andreas Gerstmayr 2012-07-12 23:50:35 +02:00
parent 22655221ca
commit 22e1eb2a4d

View File

@ -167,6 +167,7 @@ def present(name, bare=True, runas=None, force=False):
# Run test is set
if __opts__['test']:
ret['changes']['new repository'] = name
return _neutral_test(ret, 'New git repo set for creation at {0}'.format(name))
if os.path.isdir(name) and force: