()
| 1166 | |
| 1167 | |
| 1168 | def test_flight_client_close(): |
| 1169 | with ConstantFlightServer() as server, \ |
| 1170 | flight.connect(('localhost', server.port)) as client: |
| 1171 | assert list(client.list_flights()) == [] |
| 1172 | client.close() |
| 1173 | client.close() # Idempotent |
| 1174 | with pytest.raises(pa.ArrowInvalid): |
| 1175 | list(client.list_flights()) |
| 1176 | |
| 1177 | |
| 1178 | def test_flight_do_get_ints(): |
nothing calls this directly
no test coverage detected