mirror of
https://github.com/markqvist/Sideband.git
synced 2024-12-28 17:09:34 -05:00
17 lines
351 B
Python
17 lines
351 B
Python
|
def test_fonts_registration():
|
||
|
# This should register fonts:
|
||
|
from kivy.core.text import LabelBase
|
||
|
|
||
|
import kivymd # NOQA
|
||
|
|
||
|
fonts = [
|
||
|
"Roboto",
|
||
|
"RobotoThin",
|
||
|
"RobotoLight",
|
||
|
"RobotoMedium",
|
||
|
"RobotoBlack",
|
||
|
"Icons",
|
||
|
]
|
||
|
for font in fonts:
|
||
|
assert font in LabelBase._fonts.keys()
|