From 9ae60c3e487fbceb54cee462d4f8f0b0a3682ba1 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 20 Apr 2024 23:34:13 +0300 Subject: fix tests path --- tests/test_text.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/test_text.py') diff --git a/tests/test_text.py b/tests/test_text.py index 6db0723..6cd8c5a 100644 --- a/tests/test_text.py +++ b/tests/test_text.py @@ -7,10 +7,8 @@ from sliceitoff.text import Fonts, TextPage class TestText(unittest.TestCase): def setUp(self): - Fonts.load_fonts(os.path.join( - Path(__file__).parent.parent.resolve(), - "src", - "sliceitoff")) + Fonts.load_fonts( Path(__file__).parent.parent.resolve() + .joinpath('src').joinpath('sliceitoff').joinpath('assets')) def test_can_create(self): textpage = TextPage("") -- cgit v1.2.3