mopidy/tests/config
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
..
__init__.py config: Make tests discoverable and fix broken ones 2013-04-14 23:52:39 +02:00
config_test.py commands: Update override parsing tests 2013-04-30 23:42:53 +02:00
schemas_test.py tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
types_test.py config: Raise ValueError if Path is asked to serialize unicode 2013-06-27 00:08:05 +02:00
validator_tests.py tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00