()
| 36 | |
| 37 | |
| 38 | def test_nested_brackets() -> None: |
| 39 | assert unquote(stringify({"a": {"b": "c"}})) == "a[b]=c" |
| 40 | assert unquote(stringify({"a": {"b": "c", "d": "e", "f": "g"}})) == "a[b]=c&a[d]=e&a[f]=g" |
| 41 | assert unquote(stringify({"a": {"b": {"c": {"d": "e"}}}})) == "a[b][c][d]=e" |
| 42 | assert unquote(stringify({"a": {"b": True}})) == "a[b]=true" |
| 43 | |
| 44 | |
| 45 | @pytest.mark.parametrize("method", ["class", "function"]) |
nothing calls this directly
no outgoing calls
no test coverage detected