def request_multiple_blocks(context): r = Request("unit-test-request") r.push(primitives.Byte(value=1, name="string block")) r.push( primitives.String(value="The perfection of art is to conceal art.", name="unit-test-byte")) context.uut = r
def request_one_block(context): r = Request("unit-test-request") r.push(primitives.Byte(value=0, name="byte block")) context.uut = r