@@ -381,8 +381,8 @@ class TestEPUBReader(unittest.TestCase):
|
||||
# Each chapter should start with a heading
|
||||
first_block = blocks[0]
|
||||
self.assertIsInstance(
|
||||
first_block, Heading, f"Chapter {
|
||||
i + 1} should start with heading")
|
||||
first_block, Heading, f"Chapter {i + 1} should start with heading"
|
||||
)
|
||||
|
||||
def test_epub_styled_content(self):
|
||||
"""Test that styled content in EPUB is properly parsed."""
|
||||
|
||||
@@ -51,8 +51,8 @@ class TestHTMLFileLoader(unittest.TestCase):
|
||||
self.assertIsInstance(
|
||||
block,
|
||||
Block,
|
||||
f"Item {i} should be a Block instance, got {
|
||||
type(block)}")
|
||||
f"Item {i} should be a Block instance, got {type(block)}"
|
||||
)
|
||||
|
||||
print(f"Successfully loaded and parsed HTML file with {len(blocks)} blocks")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user