chore: add deps test for md2doc (python-docx, lxml)

This commit is contained in:
2026-07-28 10:21:00 +03:00
parent bdc7b5e6b2
commit 2a2c0ed249
+22
View File
@@ -0,0 +1,22 @@
"""Verify all required dependencies for md2doc are importable."""
import pytest
def test_python_docx_import():
import docx
from docx import Document
from docx.shared import Pt, RGBColor, Cm
from docx.oxml.ns import qn
from docx.oxml import OxmlElement
def test_markdown_import():
import markdown
def test_bs4_import():
from bs4 import BeautifulSoup
def test_lxml_import():
from lxml import etree