Show More
@@ -82,8 +82,7 b' class TestChangelogController(TestContro' | |||
|
82 | 82 | assert expected_url in response.location |
|
83 | 83 | response = response.follow() |
|
84 | 84 | expected_warning = 'Branch {} is not found.'.format(branch) |
|
85 | assert_response = AssertResponse(response) | |
|
86 | assert_response.element_contains('.alert-warning', expected_warning) | |
|
85 | assert expected_warning in response.body | |
|
87 | 86 | |
|
88 | 87 | def assert_commits_on_page(self, response, indexes): |
|
89 | 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