diff --git a/rhodecode/api/tests/test_repo_locking.py b/rhodecode/api/tests/test_repo_locking.py index bc9e504c..21e0148b 100644 --- a/rhodecode/api/tests/test_repo_locking.py +++ b/rhodecode/api/tests/test_repo_locking.py @@ -71,7 +71,7 @@ class TestLock(object): self.apikey_regular, "lock", userid=TEST_USER_ADMIN_LOGIN, repoid=repo_name, locked=True ) response = api_call(self.app, params) - expected = "userid is not the same as your user" + expected = "Provided userid is not the same the user calling this function" assert_error(id_, expected, given=response.body) def test_api_lock_repo_lock_aquire_non_admin_not_his_repo(self, backend):