Closed tiho44 closed 11 months ago
could you please provide a little bit more context? Mb steps, commands? I'll have a look on this issue on the weekend
here's simple example:
@pytest.mark.parametrize('param', [b"Hello"])
def test_bytes_param(param):
assert "Hello" == param.decode("utf-8")
cmd is sync
thanks a lot!
issue fixed
thanks a lot for quick fix, work nice
We use some encrypted data as pytest.param which causes
INTERNALERROR> TypeError: Object of type bytes is not JSON serializable
looks like it's handling all data types quite well, and just needs some decoding.
thank you