Try a simple do_get call.
()
| 1204 | |
| 1205 | @pytest.mark.pandas |
| 1206 | def test_do_get_ints_pandas(): |
| 1207 | """Try a simple do_get call.""" |
| 1208 | table = simple_ints_table() |
| 1209 | |
| 1210 | with ConstantFlightServer() as server, \ |
| 1211 | flight.connect(('localhost', server.port)) as client: |
| 1212 | data = client.do_get(flight.Ticket(b'ints')).read_pandas() |
| 1213 | assert list(data['some_ints']) == table.column(0).to_pylist() |
| 1214 | |
| 1215 | |
| 1216 | def test_flight_do_get_dicts(): |
nothing calls this directly
no test coverage detected