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