File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def test_app(self):
25
25
from .app import app , dispatch
26
26
27
27
# Setup a fake Dispatch server.
28
- endpoint_client = EndpointClient . from_app ( app )
28
+ endpoint_client = EndpointClient ( TestClient ( app ) )
29
29
dispatch_service = DispatchService (endpoint_client , collect_roundtrips = True )
30
30
with DispatchServer (dispatch_service ) as dispatch_server :
31
31
# Use it when dispatching function calls.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_app(self):
24
24
from .app import app , dispatch
25
25
26
26
# Setup a fake Dispatch server.
27
- endpoint_client = EndpointClient . from_app ( app )
27
+ endpoint_client = EndpointClient ( TestClient ( app ) )
28
28
dispatch_service = DispatchService (endpoint_client , collect_roundtrips = True )
29
29
with DispatchServer (dispatch_service ) as dispatch_server :
30
30
# Use it when dispatching function calls.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_app(self):
24
24
from .app import app , dispatch
25
25
26
26
# Setup a fake Dispatch server.
27
- endpoint_client = EndpointClient . from_app ( app )
27
+ endpoint_client = EndpointClient ( TestClient ( app ) )
28
28
dispatch_service = DispatchService (endpoint_client , collect_roundtrips = True )
29
29
with DispatchServer (dispatch_service ) as dispatch_server :
30
30
# Use it when dispatching function calls.
You can’t perform that action at this time.
0 commit comments