File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 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):
2525 from .app import app , dispatch
2626
2727 # Setup a fake Dispatch server.
28- endpoint_client = EndpointClient . from_app ( app )
28+ endpoint_client = EndpointClient ( TestClient ( app ) )
2929 dispatch_service = DispatchService (endpoint_client , collect_roundtrips = True )
3030 with DispatchServer (dispatch_service ) as dispatch_server :
3131 # Use it when dispatching function calls.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_app(self):
2424 from .app import app , dispatch
2525
2626 # Setup a fake Dispatch server.
27- endpoint_client = EndpointClient . from_app ( app )
27+ endpoint_client = EndpointClient ( TestClient ( app ) )
2828 dispatch_service = DispatchService (endpoint_client , collect_roundtrips = True )
2929 with DispatchServer (dispatch_service ) as dispatch_server :
3030 # Use it when dispatching function calls.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_app(self):
2424 from .app import app , dispatch
2525
2626 # Setup a fake Dispatch server.
27- endpoint_client = EndpointClient . from_app ( app )
27+ endpoint_client = EndpointClient ( TestClient ( app ) )
2828 dispatch_service = DispatchService (endpoint_client , collect_roundtrips = True )
2929 with DispatchServer (dispatch_service ) as dispatch_server :
3030 # Use it when dispatching function calls.
You can’t perform that action at this time.
0 commit comments