Skip to content

Commit

Permalink
Removed redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
vladvildanov committed Dec 20, 2024
1 parent 2851a7c commit 87c4e7e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_asyncio/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,6 @@ async def client_factory(
if "protocol" not in url and kwargs.get("protocol") is None:
kwargs["protocol"] = request.config.getoption("--protocol")

endpoints_config = os.getenv("REDIS_ENDPOINTS_CONFIG_PATH", None)
if endpoints_config is not None:
with open(endpoints_config, "r") as f:
data = json.load(f)
db = next(iter(data.values()))
url = db["endpoints"][0]

cluster_mode = REDIS_INFO["cluster_enabled"]
if not cluster_mode:
single = kwargs.pop("single_connection_client", False) or single_connection
Expand Down

0 comments on commit 87c4e7e

Please sign in to comment.