работа с шаблонами
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import pytest
|
||||
from pathlib import Path
|
||||
from docx import Document
|
||||
|
||||
from src.core.converter import process_document
|
||||
from src.handlers.builtin import handle_heading, handle_paragraph, handle_image, handle_list, handle_table
|
||||
from src.core.style_registry import StyleRegistry
|
||||
|
||||
@@ -149,3 +151,4 @@ def test_handle_table_with_br():
|
||||
cell_text = table.cell(1, 0).text # "Первая строка\nВторая строка"
|
||||
assert "Первая строка" in cell_text
|
||||
assert "Вторая строка" in cell_text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user