Skip to content

Commit

Permalink
Fix Tabulator theming tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 24, 2024
1 parent d456b05 commit f1a63a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions panel/tests/ui/widgets/test_tabulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,11 +1188,7 @@ def test_tabulator_theming(page, df_mixed, df_mixed_as_string, theme):
theme = _TABULATOR_THEMES_MAPPING.get(theme, theme)
for response in responses:
base = response.url.split('/')[-1]
if base == f'tabulator_{theme}.min.css':
found = True
break
# default theme
elif base == 'tabulator.min.css':
if base.startswith('tabulator.min.css', f'tabulator_{theme}.min.css'):
found = True
break
assert found
Expand Down

0 comments on commit f1a63a6

Please sign in to comment.