Show More
@@ -46,7 +46,7 b' from kallithea.model.repo import RepoMod' | |||
|
46 | 46 | from kallithea.model.user import UserModel |
|
47 | 47 | |
|
48 | 48 | DEBUG = True |
|
49 |
HOST = '127.0.0.1: |
|
|
49 | HOST = '127.0.0.1:4999' # test host | |
|
50 | 50 | |
|
51 | 51 | |
|
52 | 52 | class Command(object): |
@@ -324,7 +324,7 b' class TestVCSOperations(BaseTestCase):' | |||
|
324 | 324 | stdout, stderr = Command('/tmp').execute('hg clone', clone_url) |
|
325 | 325 | |
|
326 | 326 | stdout, stderr = _add_files_and_push('hg', DEST, |
|
327 |
clone_url='http:// |
|
|
327 | clone_url='http://%s/tmp' % HOST) | |
|
328 | 328 | |
|
329 | 329 | assert 'HTTP Error 404: Not Found' in stderr |
|
330 | 330 | |
@@ -334,7 +334,7 b' class TestVCSOperations(BaseTestCase):' | |||
|
334 | 334 | stdout, stderr = Command('/tmp').execute('git clone', clone_url) |
|
335 | 335 | |
|
336 | 336 | stdout, stderr = _add_files_and_push('git', DEST, |
|
337 |
clone_url='http:// |
|
|
337 | clone_url='http://%s/tmp' % HOST) | |
|
338 | 338 | |
|
339 | 339 | assert 'not found' in stderr |
|
340 | 340 |
General Comments 0
You need to be logged in to leave comments.
Login now