# HG changeset patch # User Marcin Lulek # Date 2017-07-27 12:39:21 # Node ID cd9c800f4532bd31cbf6894bfdc8ef94f656fc63 # Parent b5799ede470a2b4a7fbf6348b376b871ec8659c5 pull-requests: fixed tests. diff --git a/rhodecode/apps/repository/tests/test_repo_pullrequests.py b/rhodecode/apps/repository/tests/test_repo_pullrequests.py --- a/rhodecode/apps/repository/tests/test_repo_pullrequests.py +++ b/rhodecode/apps/repository/tests/test_repo_pullrequests.py @@ -1016,12 +1016,10 @@ class TestPullrequestsView(object): assertr = AssertResponse(response) if mergeable: - assertr.element_value_contains( - 'div.pr-mergeinfo input', shadow_url) - assertr.element_value_contains( - 'div.pr-mergeinfo input', 'pr-merge') + assertr.element_value_contains('input.pr-mergeinfo', shadow_url) + assertr.element_value_contains('input.pr-mergeinfo ', 'pr-merge') else: - assertr.no_element_exists('div.pr-mergeinfo') + assertr.no_element_exists('.pr-mergeinfo') @pytest.mark.usefixtures('app')