-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Return data ids of test dataset"
This reverts commit afa79cb.
- Loading branch information
1 parent
afa79cb
commit 7f8fced
Showing
3 changed files
with
13 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
from pathlib import Path | ||
|
||
from src.dataland_qa_lab.dataland.upload_test_data import upload_test_data | ||
|
||
|
||
def test_upload_test_data() -> None: | ||
project_root = Path(__file__).resolve().parent.parent.parent | ||
pdf_path = project_root / "data" / "pdfs" | ||
json_path = project_root / "data" / "jsons" | ||
test_data = upload_test_data(pdf_path=pdf_path, json_path=json_path) | ||
assert len(test_data) == 10 | ||
upload_test_data() |