Mercurial > kallithea
changeset 5388:5f9321340e44
tests: avoid collision with dev servers - use port 4999 for testing
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 11 Aug 2015 12:39:07 +0200 |
parents | 2fa786ba2b2a |
children | 768989c595aa |
files | kallithea/tests/other/manual_test_vcs_operations.py test.ini |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/tests/other/manual_test_vcs_operations.py Tue Aug 11 12:39:07 2015 +0200 +++ b/kallithea/tests/other/manual_test_vcs_operations.py Tue Aug 11 12:39:07 2015 +0200 @@ -46,7 +46,7 @@ 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 @@ 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 @@ 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