Skip to content

Commit 00222e1

Browse files
author
mingsing
committed
Revert "rm DaprHealth.get_ssl_context in test_dapr_grpc_client_async_secure"
Signed-off-by: mingsing <[email protected]>
1 parent 0c8371c commit 00222e1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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.aio.clients.health import DaprHealth
93+
from dapr.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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818

1919
from dapr.aio.clients.grpc.client import DaprGrpcClientAsync
2020
from dapr.aio.clients.health import DaprHealth as DaprHealthAsync
21+
from dapr.clients.health import DaprHealth
2122
from dapr.conf import settings
2223
from tests.clients.certs import replacement_get_credentials_func, replacement_get_health_context
2324
from tests.clients.test_dapr_grpc_client_async import DaprGrpcClientAsyncTests
24-
2525
from .fake_dapr_server import FakeDaprSidecar
2626

2727
DaprGrpcClientAsync.get_credentials = replacement_get_credentials_func
2828
DaprHealthAsync.get_ssl_context = replacement_get_health_context
29+
DaprHealth.get_ssl_context = replacement_get_health_context
2930

3031

3132
class DaprSecureGrpcClientAsyncTests(DaprGrpcClientAsyncTests):

0 commit comments

Comments
 (0)