mopidy/tests
Stein Magnus Jodal 2ad1bb8bb3 config: Raise ValueError if Path is asked to serialize unicode
If we accept unicode and try to encode using sys.getfilesystemencoding() then
it may work most of the time, but will fail if we get non-ASCII chars in the
unicode string and the file system encoding is e.g. ANSI-something because the
locale is C. Thus, I figure it is better to always fail if we try to serialize
Path from unicode strings. Paths should be maintained as bytes all the time.
2013-06-27 00:08:05 +02:00
..
audio tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
backends local: start reading mtime from tag caches 2013-05-20 00:58:43 +02:00
config config: Raise ValueError if Path is asked to serialize unicode 2013-06-27 00:08:05 +02:00
core tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
data config: Add preliminary handling of parse errors 2013-04-28 00:25:28 +02:00
frontends tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
outputs Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
utils scanner: Fixing review comments. 2013-05-22 20:36:39 +02:00
__init__.py tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
__main__.py Remove unused yappi profiler 2012-12-15 23:46:52 +01:00
commands_test.py commands: Update override parsing tests 2013-04-30 23:42:53 +02:00
exceptions_test.py tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
ext_test.py tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
help_test.py tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
models_test.py tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
scanner_test.py scanner: Pass in files to scan 2013-05-20 01:42:48 +02:00
version_test.py tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00