|
22 | 22 | @pytest.mark.parametrize(
|
23 | 23 | "content_type,format",
|
24 | 24 | [
|
| 25 | + ("application/xml", llsd.format_xml), |
25 | 26 | ("application/llsd+xml", llsd.format_xml),
|
26 | 27 | ("application/llsd+binary", llsd.format_binary),
|
27 | 28 | ("application/llsd+notation", llsd.format_notation),
|
@@ -105,6 +106,7 @@ async def app(scope: Scope, receive: Receive, send: Send) -> None:
|
105 | 106 | @pytest.mark.parametrize(
|
106 | 107 | "header,format,parse",
|
107 | 108 | [
|
| 109 | + ("application/xml", llsd.format_xml, llsd.parse_xml), |
108 | 110 | ("application/llsd+xml", llsd.format_xml, llsd.parse_xml),
|
109 | 111 | ("application/llsd+binary", llsd.format_binary, llsd.parse_binary),
|
110 | 112 | ("application/llsd+notation", llsd.format_notation, llsd.parse_notation),
|
@@ -137,6 +139,7 @@ async def test_llsd_accepted_but_response_is_not_json() -> None:
|
137 | 139 | @pytest.mark.parametrize(
|
138 | 140 | "header,format,parse",
|
139 | 141 | [
|
| 142 | + ("application/xml", llsd.format_xml, llsd.parse_xml), |
140 | 143 | ("application/llsd+xml", llsd.format_xml, llsd.parse_xml),
|
141 | 144 | ("application/llsd+binary", llsd.format_binary, llsd.parse_binary),
|
142 | 145 | ("application/llsd+notation", llsd.format_notation, llsd.parse_notation),
|
|
0 commit comments