mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Merge pull request #732 from willthames/fix_git_fail_json
Fixes for git module when it fails.
This commit is contained in:
@@ -191,7 +191,7 @@ class TestRunner(unittest.TestCase):
|
||||
def test_git(self):
|
||||
if not get_binary("yum"):
|
||||
raise SkipTest
|
||||
repo = 'git://github.com/ansible/ansible.git'
|
||||
repo = 'http://github.com/ansible/ansible.git'
|
||||
dest = tempfile.mkdtemp()
|
||||
result = self._run('git', ['repo=%s' % repo, 'dest=%s' % dest])
|
||||
assert 'failed' not in result
|
||||
|
||||
Reference in New Issue
Block a user