23 lines
436 B
Python
23 lines
436 B
Python
"""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
|