Coverage for tests / unit_tests / common / test_apio_themes.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2025-12-24 01:53 +0000

1"""Test for the apio_themes.py.""" 

2 

3from apio.common.apio_themes import THEMES_TABLE, DEFAULT_THEME 

4 

5 

6def test_theme_style(): 

7 """Tests that all theme have the same set of style keys.""" 

8 

9 for theme_name, theme_obj in THEMES_TABLE.items(): 

10 print(f"Testing theme {theme_name}") 

11 assert set(theme_obj.styles.keys()) == set(DEFAULT_THEME.styles.keys())