tests/config.py
changeset 22 680631f35d83
child 37 5b0eb4b11940
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/config.py	Tue Dec 06 17:11:21 2011 +0100
@@ -0,0 +1,10 @@
+import sys
+
+sys.path.insert(0, '..')
+
+
+class Config(dict):
+    def __init__(self, fname):
+        data = open(fname).read()
+        exec(data, dict(), self)
+