MCPcopy Create free account
hub / github.com/apache/arrow / test_flight_server_location_argument

Function test_flight_server_location_argument

python/pyarrow/tests/test_flight.py:1120–1128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1118
1119
1120def test_flight_server_location_argument():
1121 locations = [
1122 None,
1123 'grpc://localhost:0',
1124 ('localhost', find_free_port()),
1125 ]
1126 for location in locations:
1127 with FlightServerBase(location) as server:
1128 assert isinstance(server, FlightServerBase)
1129
1130
1131def test_server_exit_reraises_exception():

Callers

nothing calls this directly

Calls 2

find_free_portFunction · 0.90
FlightServerBaseClass · 0.90

Tested by

no test coverage detected