##// END OF EJS Templates
tests: fixing changelog test for new notifications
lisaq -
r824:9a53b89b default
parent child Browse files
Show More
@@ -82,8 +82,7 b' class TestChangelogController(TestContro'
82 assert expected_url in response.location
82 assert expected_url in response.location
83 response = response.follow()
83 response = response.follow()
84 expected_warning = 'Branch {} is not found.'.format(branch)
84 expected_warning = 'Branch {} is not found.'.format(branch)
85 assert_response = AssertResponse(response)
85 assert expected_warning in response.body
86 assert_response.element_contains('.alert-warning', expected_warning)
87
86
88 def assert_commits_on_page(self, response, indexes):
87 def assert_commits_on_page(self, response, indexes):
89 found_indexes = [int(idx) for idx in MATCH_HASH.findall(response.body)]
88 found_indexes = [int(idx) for idx in MATCH_HASH.findall(response.body)]
General Comments 0
You need to be logged in to leave comments. Login now