()
| 1252 | |
| 1253 | |
| 1254 | def test_flight_do_get_dicts(): |
| 1255 | table = simple_dicts_table() |
| 1256 | |
| 1257 | with ConstantFlightServer() as server, \ |
| 1258 | flight.connect(('localhost', server.port)) as client: |
| 1259 | reader = client.do_get(flight.Ticket(b'dicts')) |
| 1260 | assert reader.stats.num_messages == 1 |
| 1261 | data = reader.read_all() |
| 1262 | assert data.equals(table) |
| 1263 | assert reader.stats == ReadStats( |
| 1264 | num_messages=6, |
| 1265 | num_record_batches=3, |
| 1266 | num_dictionary_batches=2, |
| 1267 | num_dictionary_deltas=0, |
| 1268 | num_replaced_dictionaries=1 |
| 1269 | ) |
| 1270 | |
| 1271 | |
| 1272 | def test_flight_do_get_ticket(): |
nothing calls this directly
no test coverage detected