Closed cragwolfe closed 1 year ago
@stamzid - Can you pick up review on this one?
CC @amanda103
Okay these tests look good for a baseline happy path! I can see the new tests are passing in the GHA check, but maybe we can pair on running these new tests locally and I can smash the approval button @cragwolfe ?
Okay these tests look good for a baseline happy path! I can see the new tests are passing in the GHA check, but maybe we can pair on running these new tests locally and I can smash the approval button @cragwolfe ?
Sounds good, let's do that on Monday!
✅ Sets the pattern for the comprehensive unittests in https://github.com/Unstructured-IO/unstructured-api-tools/issues/104 .
:white_check_mark: Adds a pipeline test project with a root directory of
test_unstructured_api_tools/pipeline-test-project/
:white_check_mark: Generates web API's
test_unstructured_api_tools/pipeline-test-project/prepline_test_project/api/
from notebooks undertest_unstructured_api_tools/pipeline-test-project/pipeline-notebook
withmake generate-test-api
:white_check_mark: Ensures the generated API's match expected in CI with
make api-check-test
✅ Adds FastAPI client tests against the generated API's in
test_unstructured_api_tools/api/test_file_apis.py
There are still many notebooks to add under
test_unstructured_api_tools/pipeline-test-project/pipeline-notebook
and many more permutations to test per https://github.com/Unstructured-IO/unstructured-api-tools/issues/104 , but this is establishing the pattern.