()
| 1204 | |
| 1205 | |
| 1206 | def test_flight_client_close(): |
| 1207 | with ConstantFlightServer() as server, \ |
| 1208 | flight.connect(('localhost', server.port)) as client: |
| 1209 | assert list(client.list_flights()) == [] |
| 1210 | client.close() |
| 1211 | client.close() # Idempotent |
| 1212 | with pytest.raises(pa.ArrowInvalid): |
| 1213 | list(client.list_flights()) |
| 1214 | |
| 1215 | |
| 1216 | def test_flight_do_get_ints(): |
nothing calls this directly
no test coverage detected