diff --git a/kallithea/tests/other/manual_test_vcs_operations.py b/kallithea/tests/other/manual_test_vcs_operations.py --- a/kallithea/tests/other/manual_test_vcs_operations.py +++ b/kallithea/tests/other/manual_test_vcs_operations.py @@ -46,7 +46,7 @@ from kallithea.model.repo import RepoMod from kallithea.model.user import UserModel DEBUG = True -HOST = '127.0.0.1:5000' # test host +HOST = '127.0.0.1:4999' # test host class Command(object): @@ -324,7 +324,7 @@ class TestVCSOperations(BaseTestCase): stdout, stderr = Command('/tmp').execute('hg clone', clone_url) stdout, stderr = _add_files_and_push('hg', DEST, - clone_url='http://127.0.0.1:5000/tmp',) + clone_url='http://%s/tmp' % HOST) assert 'HTTP Error 404: Not Found' in stderr @@ -334,7 +334,7 @@ class TestVCSOperations(BaseTestCase): stdout, stderr = Command('/tmp').execute('git clone', clone_url) stdout, stderr = _add_files_and_push('git', DEST, - clone_url='http://127.0.0.1:5000/tmp',) + clone_url='http://%s/tmp' % HOST) assert 'not found' in stderr diff --git a/test.ini b/test.ini --- a/test.ini +++ b/test.ini @@ -163,7 +163,7 @@ max_request_body_size = 107374182400 ## COMMON ## host = 127.0.0.1 -port = 5000 +port = 4999 ## middleware for hosting the WSGI application under a URL prefix #[filter:proxy-prefix]