()
| 1954 | |
| 1955 | |
| 1956 | def test_streaming_do_action(): |
| 1957 | with ConvenienceServer() as server, \ |
| 1958 | FlightClient(('localhost', server.port)) as client: |
| 1959 | results = client.do_action(flight.Action('forever', b'')) |
| 1960 | assert next(results).body == b'foo' |
| 1961 | # Implicit cancel when destructed |
| 1962 | del results |
| 1963 | |
| 1964 | |
| 1965 | def test_roundtrip_types(): |
nothing calls this directly
no test coverage detected