mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
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",
|
|
}
|