Show More
@@ -302,7 +302,7 b' class TestGistsController(TestController' | |||||
302 | assert_response = response.assert_response() |
|
302 | assert_response = response.assert_response() | |
303 | assert_response.element_equals_to( |
|
303 | assert_response.element_equals_to( | |
304 | 'div.rc-user span.user', |
|
304 | 'div.rc-user span.user', | |
305 |
'<a href="/_profiles/test_admin">test_admin</a> |
|
305 | '<a href="/_profiles/test_admin">test_admin</a>') | |
306 |
|
306 | |||
307 | response.mustcontain('gist-desc') |
|
307 | response.mustcontain('gist-desc') | |
308 |
|
308 | |||
@@ -328,7 +328,7 b' class TestGistsController(TestController' | |||||
328 | assert_response = response.assert_response() |
|
328 | assert_response = response.assert_response() | |
329 | assert_response.element_equals_to( |
|
329 | assert_response.element_equals_to( | |
330 | 'div.rc-user span.user', |
|
330 | 'div.rc-user span.user', | |
331 |
'<a href="/_profiles/test_admin">test_admin</a> |
|
331 | '<a href="/_profiles/test_admin">test_admin</a>') | |
332 | response.mustcontain('gist-desc') |
|
332 | response.mustcontain('gist-desc') | |
333 |
|
333 | |||
334 | def test_show_as_raw(self, create_gist): |
|
334 | def test_show_as_raw(self, create_gist): |
@@ -113,6 +113,7 b' class TestRepoGroupSchema(object):' | |||||
113 | repo_group_owner=user_regular.username |
|
113 | repo_group_owner=user_regular.username | |
114 | )) |
|
114 | )) | |
115 |
|
115 | |||
116 | expected = 'Parent repository group `{}` does not exist'.format( |
|
116 | expected = 'You do not have the permissions to store ' \ | |
117 | test_repo_group.group_name) |
|
117 | 'repository groups inside repository group `{}`'\ | |
|
118 | .format(test_repo_group.group_name) | |||
118 | assert excinfo.value.asdict()['repo_group'] == expected |
|
119 | assert excinfo.value.asdict()['repo_group'] == expected |
General Comments 0
You need to be logged in to leave comments.
Login now