()
| 36 | |
| 37 | |
| 38 | def test_top_level_file_array() -> None: |
| 39 | query = {"files": [b"file one", b"file two"], "title": "hello"} |
| 40 | assert extract_files(query, paths=[["files", "<array>"]]) == [("files[]", b"file one"), ("files[]", b"file two")] |
| 41 | assert query == {"title": "hello"} |
| 42 | |
| 43 | |
| 44 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected