Skip to content

feat(document-search): Implement document search public interface #91

feat(document-search): Implement document search public interface

feat(document-search): Implement document search public interface #91

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

82 tests run, 77 passed, 4 skipped, 1 failed.

Annotations

Check failure on line 21 in packages/ragbits-document-search/tests/unit/test_gcs_source.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_gcs_source.test_gcs_source_fetch

Failed: DID NOT RAISE <class 'aiohttp.client_exceptions.ClientResponseError'>
Raw output
async def test_gcs_source_fetch():
        source = GCSSource(bucket="", object_name="test_gcs_source.py")
    
        path = await source.fetch()
        assert path == TEST_FILE_PATH
    
        source = GCSSource(bucket="", object_name="not_found_file.py")
>       with pytest.raises(aiohttp.ClientResponseError, aiohttp.ClientConnectionError):
E       Failed: DID NOT RAISE <class 'aiohttp.client_exceptions.ClientResponseError'>

packages/ragbits-document-search/tests/unit/test_gcs_source.py:21: Failed