def test_parser_compress_value_fail(): p = Parser(b'invalid') with pytest.raises(ParseError): p.compress_value()
def test_parser_compress_value_success(data): p = Parser(data) result = p.compress_value() assert result == "zlib"
def test_parser_compress_value_fail(): p = Parser(b'invalid') with pytest.raises(ParseError): p.compress_value()
def test_parser_compress_value_success(data): p = Parser(data) result = p.compress_value() assert result == "zlib"