##// END OF EJS Templates
tests: avoid collision with dev servers - use port 4999 for testing
Mads Kiilerich -
r5388:5f932134 default
parent child Browse files
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:5000' # test host
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://127.0.0.1:5000/tmp',)
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://127.0.0.1:5000/tmp',)
337 clone_url='http://%s/tmp' % HOST)
338 338
339 339 assert 'not found' in stderr
340 340
@@ -163,7 +163,7 b' max_request_body_size = 107374182400'
163 163
164 164 ## COMMON ##
165 165 host = 127.0.0.1
166 port = 5000
166 port = 4999
167 167
168 168 ## middleware for hosting the WSGI application under a URL prefix
169 169 #[filter:proxy-prefix]
General Comments 0
You need to be logged in to leave comments. Login now