This is an automated email from the ASF dual-hosted git repository. brondsem pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit 06b7b8909253e3f856744a1994f1175ad962512a Author: Dave Brondsema <[email protected]> AuthorDate: Thu Jan 2 15:45:12 2025 -0500 fix and simplify beautifulsoup selector --- Allura/allura/tests/functional/test_admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Allura/allura/tests/functional/test_admin.py b/Allura/allura/tests/functional/test_admin.py index fa3249276..9f334f1be 100644 --- a/Allura/allura/tests/functional/test_admin.py +++ b/Allura/allura/tests/functional/test_admin.py @@ -169,9 +169,9 @@ class TestProjectAdmin(TestController): 'features-1.feature': ' ', 'features-2.feature': ' Two '}) if resp.status_int == 200: - errors = resp.html.findAll('', attrs={'class': 'fielderror'}) + errors = resp.html.findAll(attrs={'class': 'fielderror'}) assert [] == errors - errors = resp.html.findAll('', attrs={'class': 'error'}) + errors = resp.html.findAll(attrs={'class': 'error'}) assert [] == errors raise AssertionError('Should be a 301 not 200 response')
