mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-11-09 15:07:30 +00:00
fix: skip test with api call when run outside CI (#862)
This commit is contained in:
parent
62e20442df
commit
642562beb5
@ -96,6 +96,7 @@ def test_partition_via_api_raises_with_bad_response(monkeypatch):
|
|||||||
partition_via_api(filename=filename)
|
partition_via_api(filename=filename)
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(skip_outside_ci, reason="Skipping test run outside of CI")
|
||||||
def test_partition_via_api_valid_request_data_kwargs():
|
def test_partition_via_api_valid_request_data_kwargs():
|
||||||
filename = os.path.join(DIRECTORY, "..", "..", "example-docs", "layout-parser-paper-fast.pdf")
|
filename = os.path.join(DIRECTORY, "..", "..", "example-docs", "layout-parser-paper-fast.pdf")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user