From 9f808fa0e43ae903d6159848d1331dcccb91434d Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sun, 21 Apr 2024 00:03:22 +0300 Subject: fonts as object --- tests/test_text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_text.py') diff --git a/tests/test_text.py b/tests/test_text.py index 6cd8c5a..5228782 100644 --- a/tests/test_text.py +++ b/tests/test_text.py @@ -3,11 +3,11 @@ import unittest from pathlib import Path -from sliceitoff.text import Fonts, TextPage +from sliceitoff.text import fonts, TextPage class TestText(unittest.TestCase): def setUp(self): - Fonts.load_fonts( Path(__file__).parent.parent.resolve() + fonts.init( Path(__file__).parent.parent.resolve() .joinpath('src').joinpath('sliceitoff').joinpath('assets')) def test_can_create(self): -- cgit v1.2.3