()
| 66 | |
| 67 | |
| 68 | def test_array_repeat() -> None: |
| 69 | assert unquote(stringify({"in": ["foo", "bar"]})) == "in=foo&in=bar" |
| 70 | assert unquote(stringify({"a": {"b": [True, False]}})) == "a[b]=true&a[b]=false" |
| 71 | assert unquote(stringify({"a": {"b": [True, False, None, True]}})) == "a[b]=true&a[b]=false&a[b]=true" |
| 72 | assert unquote(stringify({"in": ["foo", {"b": {"c": ["d", "e"]}}]})) == "in=foo&in[b][c]=d&in[b][c]=e" |
| 73 | |
| 74 | |
| 75 | @pytest.mark.parametrize("method", ["class", "function"]) |
nothing calls this directly
no outgoing calls
no test coverage detected