summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorAlex Gr?nholm <alex.gronholm@nextday.fi>2011-05-24 04:53:44 +0300
committerAlex Gr?nholm <alex.gronholm@nextday.fi>2011-05-24 04:53:44 +0300
commitd44685df93d4ced203d0fb8e601e19502af7685e (patch)
tree48221b28fb20eebe55958edd18532fc3efa07638 /tests/test_config.py
parentba0c1c0d32f8e1357e8cfd34e47c3f9945643316 (diff)
downloadpastedeploy-d44685df93d4ced203d0fb8e601e19502af7685e.tar.gz
Shortened the enhanced error message from _interpolate to only include the file name as all other information is already there
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 6dee066..de40a2a 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -168,6 +168,6 @@ def test_interpolate_exception():
except Exception:
e = sys.exc_info()[1]
expected = "Error in file %s" % os.path.join(config_path, 'test_error.ini')
- eq_(str(e).split(',')[0], expected)
+ eq_(str(e).split(':')[0], expected)
else:
assert False, 'Should have raised an exception'