ran unit tests locally
This commit is contained in:
parent
950b135da6
commit
4e0a10ecf3
2 changed files with 2 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ class MarkItDown:
|
|||
def convert_file_object(
|
||||
self, file_object: Union[BufferedIOBase, TextIOBase], **kwargs: Any
|
||||
) -> DocumentConverterResult: # TODO: deal with kwargs
|
||||
# Prepare a list of extensions to try (in order of priority)
|
||||
# Prepare a list of extensions to try (in order of priority
|
||||
ext = kwargs.get("file_extension")
|
||||
extensions = [ext] if ext is not None else []
|
||||
|
||||
|
|
|
|||
|
|
@ -410,6 +410,7 @@ if __name__ == "__main__":
|
|||
"""Runs this file's tests from the command line."""
|
||||
test_markitdown_remote()
|
||||
test_markitdown_local_paths()
|
||||
test_markitdown_local_objects()
|
||||
test_markitdown_exiftool()
|
||||
# test_markitdown_llm()
|
||||
print("All tests passed!")
|
||||
|
|
|
|||
Loading…
Reference in a new issue