(socket_fixture)
| 932 | |
| 933 | @pytest.mark.sockets |
| 934 | def test_socket_simple_roundtrip(socket_fixture): |
| 935 | socket_fixture.start_server(do_read_all=False) |
| 936 | writer_batches = socket_fixture.write_batches() |
| 937 | reader_schema, reader_batches = socket_fixture.stop_and_get_result() |
| 938 | |
| 939 | assert reader_schema.equals(writer_batches[0].schema) |
| 940 | assert len(reader_batches) == len(writer_batches) |
| 941 | for i, batch in enumerate(writer_batches): |
| 942 | assert reader_batches[i].equals(batch) |
| 943 | |
| 944 | |
| 945 | @pytest.mark.sockets |
nothing calls this directly
no test coverage detected