Skip to content

Commit

Permalink
test: Add some more (theme|themes) equal checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Oct 1, 2024
1 parent e0f4721 commit 4e8def0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/vegalite/v5/test_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ def test_theme_register_decorator() -> None:
def custom_theme() -> ThemeConfig:
return {"height": 400, "width": 700}

assert theme.themes.active == "unique name"
assert theme.themes.active == "unique name" == theme.active
registered = theme.themes.get()
assert registered is not None
assert registered == theme.get()
assert registered() == {"height": 400, "width": 700} == custom_theme()


Expand Down

0 comments on commit 4e8def0

Please sign in to comment.