Coverage for tests/unit_tests/common/test_apio_themes.py: 100%
5 statements
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-07 05:08 +0000
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-07 05:08 +0000
1# This file is part of the Apio project
2# (C) 2016-present FPGAwars
3# Project authors:
4# * Jesús Arroyo (Jesus89) (2016-2019)
5# * Juan Gonzalez (obijuan) (2019-2024)
6# * The Apio Team (2024-present)
7# License: GPLv2
9"""Test for the apio_themes.py."""
11from apio.common.apio_themes import THEMES_TABLE, DEFAULT_THEME
14def test_theme_style():
15 """Tests that all theme have the same set of style keys."""
17 for theme_name, theme_obj in THEMES_TABLE.items():
18 print(f"Testing theme {theme_name}")
19 assert set(theme_obj.styles.keys()) == set(DEFAULT_THEME.styles.keys())