mopidy/tests/utils
Stein Magnus Jodal b5d9dc10a7 utils: Handle paths with non-UTF-8 encodings
- path_to_uri() encodes unicode input as UTF-8 and leaves bytestring input
  unchanged before it is converted to file:// URIs.

- uri_to_path() will now always return bytestrings, since we don't know if
  there is any non-UTF-8 encoded chars in the file path, and converting it to
  unicode would make such paths no longer match the dir or file it was
  referring to.

- split_path() will now assume it gets a bytestring in.
2012-12-12 13:45:37 +01:00
..
network Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
__init__.py Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
deps_test.py utils: Include ws4py in --list-deps 2012-12-01 09:58:21 +01:00
encoding_test.py Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
importing_test.py Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
jsonrpc_test.py tests: Exception messages on 2.6 and 2.7 differs 2012-11-25 23:24:04 +01:00
path_test.py utils: Handle paths with non-UTF-8 encodings 2012-12-12 13:45:37 +01:00
settings_test.py Allow settings prefixed with 'CUSTOM_' (fixes #204) 2012-11-13 00:44:07 +01:00