summaryrefslogtreecommitdiff
path: root/tests/sample_configs/test_config.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sample_configs/test_config.ini')
-rw-r--r--tests/sample_configs/test_config.ini38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/sample_configs/test_config.ini b/tests/sample_configs/test_config.ini
new file mode 100644
index 0000000..d614829
--- /dev/null
+++ b/tests/sample_configs/test_config.ini
@@ -0,0 +1,38 @@
+[DEFAULT]
+def1 = a
+def2 = b
+basepath = %(here)s
+
+[app:test1]
+use = egg:FakeApp#configed
+setting1 = foo
+setting2 = bar
+apppath = %(basepath)s/app
+
+[app:test2]
+use = egg:FakeApp#configed
+set def1 = test2
+set another = TEST
+local conf = something
+
+[app:test3]
+use = test2
+set def1 = test3
+another = something more
+ across several
+ lines
+
+[app:test_foreign_config]
+use = config:test_config_included.ini
+set glob = override
+another = FOO
+
+[app:test_get]
+use = egg:FakeApp#configed
+set def2 = TEST
+get def1 = def1
+get foo = def2
+
+[app:test_global_conf]
+use = egg:FakeApp#configed
+test_interp = this:%(inherit)s