diff --git a/rhodecode/apps/gist/tests/test_admin_gists.py b/rhodecode/apps/gist/tests/test_admin_gists.py --- a/rhodecode/apps/gist/tests/test_admin_gists.py +++ b/rhodecode/apps/gist/tests/test_admin_gists.py @@ -302,7 +302,7 @@ class TestGistsController(TestController assert_response = response.assert_response() assert_response.element_equals_to( 'div.rc-user span.user', - 'test_admin') + 'test_admin') response.mustcontain('gist-desc') @@ -328,7 +328,7 @@ class TestGistsController(TestController assert_response = response.assert_response() assert_response.element_equals_to( 'div.rc-user span.user', - 'test_admin') + 'test_admin') response.mustcontain('gist-desc') def test_show_as_raw(self, create_gist): diff --git a/rhodecode/tests/models/schemas/test_repo_group_schema.py b/rhodecode/tests/models/schemas/test_repo_group_schema.py --- a/rhodecode/tests/models/schemas/test_repo_group_schema.py +++ b/rhodecode/tests/models/schemas/test_repo_group_schema.py @@ -113,6 +113,7 @@ class TestRepoGroupSchema(object): repo_group_owner=user_regular.username )) - expected = 'Parent repository group `{}` does not exist'.format( - test_repo_group.group_name) + expected = 'You do not have the permissions to store ' \ + 'repository groups inside repository group `{}`'\ + .format(test_repo_group.group_name) assert excinfo.value.asdict()['repo_group'] == expected