Skip to content

Commit 1077429

Browse files
author
mingsing
committed
rm DaprHealth.get_ssl_context in test_dapr_grpc_client_async_secure
Signed-off-by: mingsing <[email protected]>
1 parent 17c3302 commit 1077429

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dapr/aio/clients/grpc/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
UnlockResponseStatus,
9191
)
9292
from dapr.clients.grpc._state import StateItem, StateOptions
93-
from dapr.clients.health import DaprHealth
93+
from dapr.aio.clients.health import DaprHealth
9494
from dapr.clients.retry import RetryPolicy
9595
from dapr.common.pubsub.subscription import StreamInactiveError
9696
from dapr.conf import settings

tests/clients/test_dapr_grpc_client_async_secure.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
from dapr.aio.clients.grpc.client import DaprGrpcClientAsync
2121
from dapr.aio.clients.health import DaprHealth as DaprHealthAsync
22-
from dapr.clients.health import DaprHealth as DaprHealth
2322
from tests.clients.certs import replacement_get_credentials_func, replacement_get_health_context
2423
from tests.clients.test_dapr_grpc_client_async import DaprGrpcClientAsyncTests
2524
from .fake_dapr_server import FakeDaprSidecar
@@ -28,7 +27,6 @@
2827

2928
DaprGrpcClientAsync.get_credentials = replacement_get_credentials_func
3029
DaprHealthAsync.get_ssl_context = replacement_get_health_context
31-
DaprHealth.get_ssl_context = replacement_get_health_context
3230

3331

3432
class DaprSecureGrpcClientAsyncTests(DaprGrpcClientAsyncTests):

0 commit comments

Comments
 (0)