Skip to content

Commit

Permalink
fix and simplify beautifulsoup selector
Browse files Browse the repository at this point in the history
  • Loading branch information
brondsem committed Jan 2, 2025
1 parent fc9d528 commit 06b7b89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Allura/allura/tests/functional/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ def test_features(self):
'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')

Expand Down

0 comments on commit 06b7b89

Please sign in to comment.