tests: fixing changelog test for new notifications
This commit is contained in:
parent
0ea6b37e8b
commit
cde9d17915
1 changed files with 1 additions and 2 deletions
|
|
@ -82,8 +82,7 @@ class TestChangelogController(TestController):
|
|||
assert expected_url in response.location
|
||||
response = response.follow()
|
||||
expected_warning = 'Branch {} is not found.'.format(branch)
|
||||
assert_response = AssertResponse(response)
|
||||
assert_response.element_contains('.alert-warning', expected_warning)
|
||||
assert expected_warning in response.body
|
||||
|
||||
def assert_commits_on_page(self, response, indexes):
|
||||
found_indexes = [int(idx) for idx in MATCH_HASH.findall(response.body)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue