forked from Archives/langchain
0dc304ca80
# Add bs4 html parser * Some minor refactors * Extract the bs4 html parsing code from the bs html loader * Move some tests from integration tests to unit tests
14 lines
352 B
Python
14 lines
352 B
Python
from langchain.document_loaders.parsers import __all__
|
|
|
|
|
|
def test_parsers_public_api_correct() -> None:
|
|
"""Test public API of parsers for breaking changes."""
|
|
assert set(__all__) == {
|
|
"BS4HTMLParser",
|
|
"PyPDFParser",
|
|
"PDFMinerParser",
|
|
"PyMuPDFParser",
|
|
"PyPDFium2Parser",
|
|
"PDFPlumberParser",
|
|
}
|