Show More
@@ -46,7 +46,7 b' from kallithea.model.repo import RepoMod' | |||||
46 | from kallithea.model.user import UserModel |
|
46 | from kallithea.model.user import UserModel | |
47 |
|
47 | |||
48 | DEBUG = True |
|
48 | DEBUG = True | |
49 |
HOST = '127.0.0.1: |
|
49 | HOST = '127.0.0.1:4999' # test host | |
50 |
|
50 | |||
51 |
|
51 | |||
52 | class Command(object): |
|
52 | class Command(object): | |
@@ -324,7 +324,7 b' class TestVCSOperations(BaseTestCase):' | |||||
324 | stdout, stderr = Command('/tmp').execute('hg clone', clone_url) |
|
324 | stdout, stderr = Command('/tmp').execute('hg clone', clone_url) | |
325 |
|
325 | |||
326 | stdout, stderr = _add_files_and_push('hg', DEST, |
|
326 | stdout, stderr = _add_files_and_push('hg', DEST, | |
327 |
clone_url='http:// |
|
327 | clone_url='http://%s/tmp' % HOST) | |
328 |
|
328 | |||
329 | assert 'HTTP Error 404: Not Found' in stderr |
|
329 | assert 'HTTP Error 404: Not Found' in stderr | |
330 |
|
330 | |||
@@ -334,7 +334,7 b' class TestVCSOperations(BaseTestCase):' | |||||
334 | stdout, stderr = Command('/tmp').execute('git clone', clone_url) |
|
334 | stdout, stderr = Command('/tmp').execute('git clone', clone_url) | |
335 |
|
335 | |||
336 | stdout, stderr = _add_files_and_push('git', DEST, |
|
336 | stdout, stderr = _add_files_and_push('git', DEST, | |
337 |
clone_url='http:// |
|
337 | clone_url='http://%s/tmp' % HOST) | |
338 |
|
338 | |||
339 | assert 'not found' in stderr |
|
339 | assert 'not found' in stderr | |
340 |
|
340 |
@@ -163,7 +163,7 b' max_request_body_size = 107374182400' | |||||
163 |
|
163 | |||
164 | ## COMMON ## |
|
164 | ## COMMON ## | |
165 | host = 127.0.0.1 |
|
165 | host = 127.0.0.1 | |
166 |
port = |
|
166 | port = 4999 | |
167 |
|
167 | |||
168 | ## middleware for hosting the WSGI application under a URL prefix |
|
168 | ## middleware for hosting the WSGI application under a URL prefix | |
169 | #[filter:proxy-prefix] |
|
169 | #[filter:proxy-prefix] |
General Comments 0
You need to be logged in to leave comments.
Login now