Commit Graph

35 Commits

Author SHA1 Message Date
Stein Magnus Jodal
52ee456692 tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
Thomas Adamcik
64465d318d config: Ensure that overrides are bytes 2013-04-28 23:31:41 +02:00
Thomas Adamcik
9974f77f1b config: Serialize unicode to bytes using sys.getfilesystemencoding() 2013-04-28 23:31:41 +02:00
Thomas Adacmik
9fab339941 config: Add preliminary handling of parse errors 2013-04-28 00:25:28 +02:00
Thomas Adacmik
c5b036f988 config: Add test config with non-ascii 2013-04-28 00:05:36 +02:00
Thomas Adacmik
085b44e52f path: Update with respect to review comments in #427 2013-04-27 02:21:27 +02:00
Thomas Adamcik
ac7edad86d config/path: Pass in expanded value in expanded path type 2013-04-25 22:39:06 +02:00
Thomas Adamcik
160a70e6df path: Only accept bytes as paths 2013-04-25 21:08:33 +02:00
Thomas Adamcik
2f8bc32c14 config: Remove ExtensionConfigSchema 2013-04-24 23:39:14 +02:00
Thomas Adamcik
b7232797ea config/ext: Accept unicode defaults 2013-04-24 23:31:39 +02:00
Thomas Adamcik
cde84748f7 config: Create config.format and switch to just serialize on schemas 2013-04-16 22:36:58 +02:00
Thomas Adamcik
d8f6886311 config: Set missing/invalid keys to none 2013-04-16 22:19:34 +02:00
Thomas Adamcik
f0131fdc93 config: Fix serialization of none 2013-04-16 21:37:55 +02:00
Thomas Adamcik
ee40f0385a config: Remove format from types API 2013-04-16 21:37:54 +02:00
Thomas Adamcik
211379a01c config: Unknown loglevels should serialize to blank string 2013-04-16 00:13:57 +02:00
Thomas Adamcik
78d3888dd1 config: Remove ConfigErrors expception 2013-04-15 23:09:19 +02:00
Thomas Adamcik
51f89017fe config: Fix handling of None in Secret 2013-04-15 21:16:19 +02:00
Thomas Adamcik
f5cd806dc5 config: Rename convert to deserialize 2013-04-15 21:16:19 +02:00
Thomas Adamcik
e4873c4516 config: Return convereted values and errors 2013-04-15 21:16:18 +02:00
Thomas Adamcik
ee57eb58a3 config: Strict config value init kwargs, also adds Secret 2013-04-15 00:07:31 +02:00
Thomas Adamcik
4826dc7cac config: Support lists in required validator 2013-04-15 00:07:07 +02:00
Thomas Adamcik
805733a2aa config: Make tests discoverable and fix broken ones 2013-04-14 23:52:39 +02:00
Thomas Adamcik
d5b8f2ab02 config: Make List use proper encode/decode helpers 2013-04-14 17:50:16 +02:00
Thomas Adamcik
7ed9b8adab config: Extract encode and decode helpers from String 2013-04-14 17:34:54 +02:00
Thomas Adamcik
9f18d50ab0 config: Fix escapes in string handling 2013-04-14 17:16:17 +02:00
Thomas Adamcik
6b89051b5e config: Add encoding support to strings 2013-04-14 16:15:58 +02:00
Thomas Adamcik
943a3097a9 config: Update validate to use schema.name 2013-04-13 22:37:22 +02:00
Thomas Adamcik
6e42a381cd config: Add name to schemas 2013-04-13 21:46:15 +02:00
Thomas Adamcik
63003abb2e config: Flake8 fixes 2013-04-13 20:40:13 +02:00
Thomas Adamcik
067cc4c112 config: Add basic validate tests 2013-04-13 01:18:26 +02:00
Thomas Adamcik
c5f8e1da19 config: Add parse_override test 2013-04-13 00:53:19 +02:00
Thomas Adamcik
51afbe19e1 config: Start adding basic data loading test 2013-04-13 00:47:50 +02:00
Thomas Adamcik
66be2dc551 config: Rename mopidy.config.values to types 2013-04-11 23:30:29 +02:00
Thomas Adamcik
a5f2dc924c config: Review fixes 2013-04-11 22:26:22 +02:00
Thomas Adamcik
d90a977a3b config: Move everything to mopidy.config sub-modules 2013-04-11 22:24:27 +02:00