Skip to content

Commit 7fb3ac8

Browse files
committed
fix: fix a test's path setting
1 parent f1451e1 commit 7fb3ac8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_test_contract/test_partition_via_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def client() -> UnstructuredClient:
1616

1717
@pytest.fixture(scope="module")
1818
def doc_path() -> Path:
19-
return Path(__file__).resolve().parents[2] / "_sample_docs"
19+
samples_path = Path(__file__).resolve().parents[1] / "_sample_docs"
20+
assert samples_path.exists()
21+
return samples_path
2022

2123

2224
MOCK_TEXT = """[

0 commit comments

Comments
 (0)