Show More
@@ -200,8 +200,8 b' class TestVCSOperations(BaseTestCase):' | |||||
200 | clone_url = _construct_url(GIT_REPO) |
|
200 | clone_url = _construct_url(GIT_REPO) | |
201 | stdout, stderr = Command('/tmp').execute('git clone', clone_url) |
|
201 | stdout, stderr = Command('/tmp').execute('git clone', clone_url) | |
202 |
|
202 | |||
203 | assert 'Cloning into' in stdout |
|
203 | assert 'Cloning into' in stdout + stderr | |
204 | assert stderr == '' |
|
204 | assert stderr == '' or stdout == '' | |
205 |
|
205 | |||
206 | def test_clone_wrong_credentials_hg(self): |
|
206 | def test_clone_wrong_credentials_hg(self): | |
207 | clone_url = _construct_url(HG_REPO, passwd='bad!') |
|
207 | clone_url = _construct_url(HG_REPO, passwd='bad!') | |
@@ -532,5 +532,5 b' class TestVCSOperations(BaseTestCase):' | |||||
532 | clone_url = _construct_url(GIT_REPO) |
|
532 | clone_url = _construct_url(GIT_REPO) | |
533 | stdout, stderr = Command('/tmp').execute('git clone', clone_url) |
|
533 | stdout, stderr = Command('/tmp').execute('git clone', clone_url) | |
534 |
|
534 | |||
535 | assert 'Cloning into' in stdout |
|
535 | assert 'Cloning into' in stdout + stderr | |
536 | assert stderr == '' |
|
536 | assert stderr == '' or stdout == '' |
General Comments 0
You need to be logged in to leave comments.
Login now