redash/tests
Arik Fraimovich ff34dedf46
Fix: properly encode UTF-8 filenames in query results request (#4498)
* Fix: properly encode UTF-8 filenames in query results request

Ended up copying the implementation from Flask's send_file helper function, because send_file doesn't really fit our use case.

* Update tests/handlers/test_query_results.py

Co-Authored-By: Omer Lachish <omer@rauchy.net>

Co-authored-by: Omer Lachish <omer@rauchy.net>
2019-12-30 11:52:18 +02:00
..
extensions Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
handlers Fix: properly encode UTF-8 filenames in query results request (#4498) 2019-12-30 11:52:18 +02:00
models Retain tags when forking a query (#4489) 2019-12-25 16:25:02 +02:00
query_runner Fix: query results query runner fails to load cached results. (#4486) 2019-12-25 15:21:43 +02:00
serializers Support download as TSV File (#4445) 2019-12-26 16:16:48 +02:00
tasks Don't update query's updated_at when updating schedule_failures counter (#4488) 2019-12-25 16:25:16 +02:00
utils Nest query ACL to dropdowns (#3544) 2019-03-20 09:16:10 +02:00
__init__.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
factories.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
test_authentication.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
test_cli.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
test_configuration.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
test_handlers.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
test_models.py Refine permissions usage in Redash to allow for guest users (#4492) 2019-12-30 10:07:20 +02:00
test_permissions.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
test_schedule.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00
test_utils.py Black support for the Python codebase (#4297) 2019-12-11 13:54:29 +02:00