()
| 1992 | |
| 1993 | |
| 1994 | def test_streaming_do_action(): |
| 1995 | with ConvenienceServer() as server, \ |
| 1996 | FlightClient(('localhost', server.port)) as client: |
| 1997 | results = client.do_action(flight.Action('forever', b'')) |
| 1998 | assert next(results).body == b'foo' |
| 1999 | # Implicit cancel when destructed |
| 2000 | del results |
| 2001 | |
| 2002 | |
| 2003 | def test_roundtrip_types(): |
nothing calls this directly
no test coverage detected