()
| 1120 | |
| 1121 | |
| 1122 | def test_flight_server_location_argument(): |
| 1123 | locations = [ |
| 1124 | None, |
| 1125 | 'grpc://localhost:0', |
| 1126 | ('localhost', find_free_port()), |
| 1127 | ] |
| 1128 | for location in locations: |
| 1129 | with FlightServerBase(location) as server: |
| 1130 | assert isinstance(server, FlightServerBase) |
| 1131 | |
| 1132 | |
| 1133 | # The following tests are for GH-50684, which was a memory leak |
nothing calls this directly
no test coverage detected