Skip to content

Commit d169979

Browse files
committed
Format weaviate test fix
1 parent 137e27d commit d169979

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

libraries/dagster-weaviate/dagster_weaviate_tests/test_resource.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,17 @@ def test_cloud_resource():
176176
Makes sure the url and headers (incl' authorization) of the request made by Weaviate are the same as
177177
specified in the Resource config.
178178
"""
179-
with mock.patch.object(
180-
httpx.AsyncClient, "send", autospec=True, side_effect=mock_httpx_async_send_method
181-
), mock.patch.object(httpx.Client, "send", autospec=True, side_effect=mock_httpx_send_method):
179+
with (
180+
mock.patch.object(
181+
httpx.AsyncClient,
182+
"send",
183+
autospec=True,
184+
side_effect=mock_httpx_async_send_method,
185+
),
186+
mock.patch.object(
187+
httpx.Client, "send", autospec=True, side_effect=mock_httpx_send_method
188+
),
189+
):
182190

183191
@asset
184192
def query_cloud_weaviate_asset(weaviate_cloud: WeaviateResource):

0 commit comments

Comments
 (0)