Skip to content

feat(document-search): allow to use local instance of unstructured #137

feat(document-search): allow to use local instance of unstructured

feat(document-search): allow to use local instance of unstructured #137

GitHub Actions / JUnit Test Report failed Oct 8, 2024 in 0s

84 tests run, 78 passed, 4 skipped, 2 failed.

Annotations

Check failure on line 25 in packages/ragbits-document-search/tests/unit/test_providers.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_providers.test_unstructured_provider_raises_value_error_when_api_key_not_set

Failed: DID NOT RAISE <class 'ValueError'>
Raw output
@patch.dict(os.environ, {}, clear=True)
    async def test_unstructured_provider_raises_value_error_when_api_key_not_set():
>       with pytest.raises(ValueError) as err:
E       Failed: DID NOT RAISE <class 'ValueError'>

packages/ragbits-document-search/tests/unit/test_providers.py:25: Failed

Check failure on line 35 in packages/ragbits-document-search/tests/unit/test_providers.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_providers.test_unstructured_provider_raises_value_error_when_server_url_not_set

Failed: DID NOT RAISE <class 'ValueError'>
Raw output
@patch.dict(os.environ, {}, clear=True)
    async def test_unstructured_provider_raises_value_error_when_server_url_not_set():
>       with pytest.raises(ValueError) as err:
E       Failed: DID NOT RAISE <class 'ValueError'>

packages/ragbits-document-search/tests/unit/test_providers.py:35: Failed