big update with ok rendering
Python CI / test (push) Failing after 3m55s

This commit is contained in:
2025-08-27 22:22:54 +02:00
parent 36281be77a
commit 65ab46556f
54 changed files with 6157 additions and 438 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ from unittest.mock import Mock, patch, MagicMock
from pyWebLayout.concrete.text import Text, Line
from pyWebLayout.abstract.inline import Word
from pyWebLayout.style import Font, FontStyle, FontWeight, TextDecoration
from pyWebLayout.style.layout import Alignment
from pyWebLayout.style import Alignment
class TestText(unittest.TestCase):
def setUp(self):
@@ -247,14 +247,14 @@ class TestLine(unittest.TestCase):
# Create a word to add
for i in range(100):
word = Word(text="AAAAAAAA", style=self.style)
word = Word(text="AAAAAAA", style=self.style)
# This test may need adjustment based on the actual implementation
success, overflow_part = line.add_word(word)
# If successful, the word should be added
if overflow_part:
self.assertEqual(overflow_part.text , "AA")
self.assertEqual(overflow_part.text , "A")
return
self.assertFalse(True)