chore: add deps test for md2doc (python-docx, lxml)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user