diff tests/test-ui-config.out @ 2502:18cf95ad3666

Allow using default values with ui.configlist, too, and add a test for this.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 26 Jun 2006 22:44:48 +0200
parents
children 24c1db20990c
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/tests/test-ui-config.out
@@ -0,0 +1,29 @@
+[('bool1', 'true'), ('bool2', 'false'), ('string', 'string value')]
+[('list1', 'foo'), ('list2', 'foo bar baz'), ('list3', 'alice, bob'), ('list4', 'foo bar baz alice, bob')]
+---
+'string value'
+'true'
+'false'
+None
+---
+Not a boolean: string value
+True
+False
+False
+False
+True
+---
+['foo']
+['foo', 'bar', 'baz']
+['alice', 'bob']
+['foo', 'bar', 'baz', 'alice', 'bob']
+['foo', 'bar', 'baz', 'alice', 'bob']
+[]
+[]
+['foo']
+['foo']
+['foo', 'bar']
+['foo', 'bar']
+['foo bar']
+['foo', 'bar']
+---