From fb774730498129c90edb049fa396b72f652dd0f2 Mon Sep 17 00:00:00 2001 From: Alan Konarski Date: Thu, 3 Oct 2024 12:08:21 +0200 Subject: [PATCH] Fix test --- packages/ragbits-document-search/tests/unit/test_gcs_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ragbits-document-search/tests/unit/test_gcs_source.py b/packages/ragbits-document-search/tests/unit/test_gcs_source.py index 35d2a40c..da32b5a9 100644 --- a/packages/ragbits-document-search/tests/unit/test_gcs_source.py +++ b/packages/ragbits-document-search/tests/unit/test_gcs_source.py @@ -18,5 +18,5 @@ async def test_gcs_source_fetch(): assert path == TEST_FILE_PATH source = GCSSource(bucket="", object_name="not_found_file.py") - with pytest.raises(aiohttp.ClientResponseError, aiohttp.ClientConnectionError): + with pytest.raises(aiohttp.ClientConnectionError): await source.fetch()