summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Deza <alfredodeza@gmail.com>2013-02-27 22:09:05 -0500
committerAlfredo Deza <alfredodeza@gmail.com>2013-02-27 22:09:05 -0500
commit6667c75f37efd8aa7e82c5727f8007e7dacc90ba (patch)
tree0e76635d8e111dcc46dad9f7eb6ea65155441755
parent94f37108c020eb459e8ab0b33512219bdce79741 (diff)
downloadpecan-6667c75f37efd8aa7e82c5727f8007e7dacc90ba.tar.gz
trying to fix RuntimeError tests
-rw-r--r--pecan/tests/test_conf.py24
1 files changed, 10 insertions, 14 deletions
diff --git a/pecan/tests/test_conf.py b/pecan/tests/test_conf.py
index 2e36cf6..b3d122d 100644
--- a/pecan/tests/test_conf.py
+++ b/pecan/tests/test_conf.py
@@ -110,26 +110,22 @@ class TestConf(TestCase):
from pecan import configuration
path = ('doesnotexist.py',)
configuration.Config({})
- self.assertRaises(RuntimeError,
- configuration.conf_from_file,
- os.path.join(
- __here__,
- 'config_fixtures',
- *path)
- )
+ self.assertRaises(
+ RuntimeError,
+ configuration.conf_from_file,
+ os.path.join(__here__, 'config_fixtures', *path)
+ )
def test_config_missing_file_on_path(self):
from pecan import configuration
path = ('bad', 'bad', 'doesnotexist.py',)
configuration.Config({})
- self.assertRaises(RuntimeError,
- configuration.conf_from_file,
- os.path.join(
- __here__,
- 'config_fixtures',
- *path)
- )
+ self.assertRaises(
+ RuntimeError,
+ configuration.conf_from_file,
+ os.path.join(__here__, 'config_fixtures', *path)
+ )
def test_config_with_syntax_error(self):
from pecan import configuration