()
| 47 | |
| 48 | |
| 49 | def test_nested_brackets() -> None: |
| 50 | assert unquote(stringify({"a": {"b": "c"}})) == "a[b]=c" |
| 51 | assert unquote(stringify({"a": {"b": "c", "d": "e", "f": "g"}})) == "a[b]=c&a[d]=e&a[f]=g" |
| 52 | assert unquote(stringify({"a": {"b": {"c": {"d": "e"}}}})) == "a[b][c][d]=e" |
| 53 | assert unquote(stringify({"a": {"b": True}})) == "a[b]=true" |
| 54 | |
| 55 | |
| 56 | @pytest.mark.parametrize("method", ["class", "function"]) |
nothing calls this directly
no outgoing calls
no test coverage detected