userver: samples/flatbuf_service/tests/test_flatbuf.py
Loading...
Searching...
No Matches
samples/flatbuf_service/tests/test_flatbuf.py
1# /// [Functional test]
2async def test_flatbuf(service_client):
3 body = bytearray.fromhex(
4 '100000000c00180000000800100004000c000000140000001400000000000000'
5 '16000000000000000a00000048656c6c6f20776f72640000',
6 )
7 response = await service_client.post('/fbs', data=body)
8 assert response.status == 200
9 # /// [Functional test]