()
| 55 | |
| 56 | |
| 57 | def test_array_repeat() -> None: |
| 58 | assert unquote(stringify({"in": ["foo", "bar"]})) == "in=foo&in=bar" |
| 59 | assert unquote(stringify({"a": {"b": [True, False]}})) == "a[b]=true&a[b]=false" |
| 60 | assert unquote(stringify({"a": {"b": [True, False, None, True]}})) == "a[b]=true&a[b]=false&a[b]=true" |
| 61 | assert unquote(stringify({"in": ["foo", {"b": {"c": ["d", "e"]}}]})) == "in=foo&in[b][c]=d&in[b][c]=e" |
| 62 | |
| 63 | |
| 64 | @pytest.mark.parametrize("method", ["class", "function"]) |
nothing calls this directly
no outgoing calls
no test coverage detected