# HG changeset patch # User Marcin Kuzminski # Date 1351008607 -7200 # Node ID 15dc5b2ff672f5f8f44837c6612930b2edd8142e # Parent a2ecf8a530b9d4702b8be0f9584d876190d510e1 latest git version fixes issue with handling locking diff -r a2ecf8a530b9 -r 15dc5b2ff672 rhodecode/tests/scripts/test_vcs_operations.py --- a/rhodecode/tests/scripts/test_vcs_operations.py Tue Oct 23 17:09:28 2012 +0200 +++ b/rhodecode/tests/scripts/test_vcs_operations.py Tue Oct 23 18:10:07 2012 +0200 @@ -322,11 +322,8 @@ #pull fails since repo is locked clone_url = _construct_url(GIT_REPO) stdout, stderr = Command('/tmp').execute('git clone', clone_url) - msg = ("""abort: HTTP Error 423: Repository `%s` locked by user `%s`""" + msg = ("""423 Repository `%s` locked by user `%s`""" % (GIT_REPO, TEST_USER_ADMIN_LOGIN)) - #TODO: fix this somehow later on GIT, GIT is stupid and even if we throw - # back 423 to it, it makes ANOTHER request and we fail there with 405 :/ - msg = "405 Method Not Allowed" assert msg in stderr def test_push_on_locked_repo_by_other_user_hg(self):