aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-09-04 21:32:35 -0700
committeralon@honor <none@none>2010-09-04 21:32:35 -0700
commitc3d043f32921b28dee20c5b68e0c1424d266b2a3 (patch)
treeaf24f8a6910ccde42f2bb089538a5aefe3f277ce /tests
parentf44ff320263db6a465a09798168b4220e7333f83 (diff)
clean up settings and add code snippets file
--HG-- rename : tests/settings.cfg => tests/settings.py
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py4
-rw-r--r--tests/settings.py (renamed from tests/settings.cfg)0
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d1a8b63f..bc97cc01 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1,7 +1,7 @@
'''
Simple test runner
-See settings.cfg file for options&params. Edit as needed.
+See settings.py file for options&params. Edit as needed.
'''
from subprocess import Popen, PIPE, STDOUT
@@ -13,7 +13,7 @@ abspath = os.path.abspath(os.path.dirname(__file__))
def path_from_root(pathelems):
return os.path.join(os.path.sep, *(abspath.split(os.sep)[:-1] + pathelems))
-exec(open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'settings.cfg'), 'r').read())
+exec(open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'settings.py'), 'r').read())
def timeout_run(proc, timeout, note):
start = time.time()
diff --git a/tests/settings.cfg b/tests/settings.py
index 34f90c87..34f90c87 100644
--- a/tests/settings.cfg
+++ b/tests/settings.py