Skip to content

Commit 47a4473

Browse files
committed
Move import to top of module
1 parent 5c9abcd commit 47a4473

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/integration/test_langcache_semantic_cache_integration.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from typing import Dict
1818

1919
import pytest
20+
from langcache.errors import BadRequestErrorResponseContent
2021

2122
from redisvl.extensions.cache.llm.langcache import LangCacheSemanticCache
2223

@@ -241,7 +242,6 @@ def test_error_on_store_with_metadata_when_no_attributes_configured(
241242
self, langcache_no_attrs: LangCacheSemanticCache
242243
) -> None:
243244

244-
245245
prompt = "Attributes not configured"
246246
response = "This should fail due to missing attributes configuration."
247247

@@ -289,9 +289,6 @@ def test_attribute_value_with_comma_passes_through_to_api(
289289
error is raised by the backend. If this behavior changes, this test will
290290
need to be updated.
291291
"""
292-
293-
from langcache.errors import BadRequestErrorResponseContent
294-
295292
prompt = "Comma attribute value"
296293
response = "This may fail depending on the remote validation rules."
297294

0 commit comments

Comments
 (0)