Skip to content

Commit

Permalink
update test config
Browse files Browse the repository at this point in the history
Signed-off-by: Shoham Elias <[email protected]>
  • Loading branch information
shohamazon committed Dec 18, 2024
1 parent 3e085c1 commit fc162e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/python/tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0

from glide.config import (
AdvancedGlideClientConfiguration,
AdvancedGlideClusterClientConfiguration,
BaseClientConfiguration,
GlideClientConfiguration,
GlideClusterClientConfiguration,
Expand Down Expand Up @@ -84,7 +86,7 @@ def test_connection_timeout_in_protobuf_request():
assert isinstance(request, ConnectionRequest)
assert request.connection_timeout == connection_timeout

config = GlideClientConfiguration(
config = AdvancedGlideClientConfiguration(
[NodeAddress("127.0.0.1")],
connection_timeout=connection_timeout,
)
Expand All @@ -93,7 +95,7 @@ def test_connection_timeout_in_protobuf_request():
assert isinstance(request, ConnectionRequest)
assert request.connection_timeout == connection_timeout

config = GlideClusterClientConfiguration(
config = AdvancedGlideClusterClientConfiguration(
[NodeAddress("127.0.0.1")],
connection_timeout=connection_timeout,
)
Expand Down

0 comments on commit fc162e1

Please sign in to comment.