@@ -18,7 +18,7 @@ class TestWord(unittest.TestCase):
|
||||
"""Set up test fixtures."""
|
||||
self.font = Font()
|
||||
# Note: Font background is a tuple (255, 255, 255, 0) by default
|
||||
# Note: Font language is set via constructor parameter (langauge - with typo)
|
||||
# Note: Font language is set via constructor parameter (language - with typo)
|
||||
|
||||
def test_word_creation_minimal(self):
|
||||
"""Test word creation with minimal parameters."""
|
||||
|
||||
@@ -72,7 +72,7 @@ class TestStyleObjects(unittest.TestCase):
|
||||
style=FontStyle.ITALIC,
|
||||
decoration=TextDecoration.UNDERLINE,
|
||||
background=(255, 255, 0, 255),
|
||||
langauge="fr_FR"
|
||||
language="fr_FR"
|
||||
)
|
||||
|
||||
self.assertEqual(font._font_path, "/path/to/font.ttf")
|
||||
|
||||
Reference in New Issue
Block a user