mopidy/tests
Nick Steel 10fafc0228 http: Add config option to control CSRF protection (Fixes: #1713)
Allows users to disable CSRF protection and revert to the HTTP server's
previous (less secure) behaviour. Users are advised to leave this config
value enabled if possible. However, if disabled this will:
  * Remove the requirement to set a ``Content-Type: application/json``
    header for JSON-RPC POST requests.
  * Disable all same-origin checks, effectively ignoring the ``allowed_origins``
    config since requests from any origin will be allowed.
  * Suppress all ``Access-Control-Allow-*`` response headers.
2018-10-15 17:24:45 +01:00
..
audio Make test code more readable 2016-10-04 10:48:31 +02:00
backend autopep8: Add space after class signature/docstring 2015-04-03 00:05:26 +02:00
config config: remove 10000 tracks limitation in playlists 2018-04-04 19:20:17 +02:00
core core: Define playlists.delete() return type 2018-09-19 22:27:18 +02:00
data m3u: Derive track name from file name for non-extended M3U playlists. 2015-12-23 18:14:19 +01:00
file tests: Avoid import errors during conftest setup 2015-07-27 13:41:29 +02:00
http http: Add config option to control CSRF protection (Fixes: #1713) 2018-10-15 17:24:45 +01:00
internal Upgrade pytest from <3.3 to >=3.3 2018-04-01 01:23:10 +02:00
local local: URIs should be unicode 2016-01-31 21:07:17 +01:00
m3u m3u: Ignore paths outside the playlist_dir 2018-09-19 22:27:18 +02:00
models Merge 'develop' and resolve conflict 2016-09-14 18:17:52 +02:00
mpd Explicitly check for None (core playlists API future proofing). 2018-04-15 21:21:59 +01:00
stream Upgrade pytest from <3.3 to >=3.3 2018-04-01 01:23:10 +02:00
__init__.py compat: Replace (int, long) with compat.integer_types 2015-10-29 22:21:48 +01:00
dummy_audio.py tests: Make DummyAudio reset position when URI changes 2018-04-09 23:46:30 +02:00
dummy_backend.py Updated playlistclear to use playlist lookup helper and added save failure tests. 2018-04-15 21:19:01 +01:00
dummy_mixer.py Allow 'none' as audio.mixer value 2015-03-10 00:26:22 +01:00
test_commands.py autopep8: Add space after class signature/docstring 2015-04-03 00:05:26 +02:00
test_exceptions.py autopep8: Add space after class signature/docstring 2015-04-03 00:05:26 +02:00
test_ext.py ext: Make get_{cache,config,data}_dir() class methods 2015-09-04 10:20:04 +02:00
test_help.py autopep8: Add space after class signature/docstring 2015-04-03 00:05:26 +02:00
test_httpclient.py Handle missing or empty 'port' configuration parameter. 2016-01-05 21:17:59 +01:00
test_mixer.py autopep8: Add space after class signature/docstring 2015-04-03 00:05:26 +02:00
test_version.py tests: Remove version ordering test 2015-09-14 10:40:48 +02:00