From 2a2c0ed2495f1374baf44ade10086da4675417d7 Mon Sep 17 00:00:00 2001 From: Sebastian Petrescu Date: Tue, 28 Jul 2026 10:21:00 +0300 Subject: [PATCH] chore: add deps test for md2doc (python-docx, lxml) --- tests/test_deps.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/test_deps.py diff --git a/tests/test_deps.py b/tests/test_deps.py new file mode 100644 index 0000000..86bc7e4 --- /dev/null +++ b/tests/test_deps.py @@ -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