diff options
author | Alfredo Deza <alfredodeza@gmail.com> | 2013-02-27 22:09:05 -0500 |
---|---|---|
committer | Alfredo Deza <alfredodeza@gmail.com> | 2013-02-27 22:09:05 -0500 |
commit | 6667c75f37efd8aa7e82c5727f8007e7dacc90ba (patch) | |
tree | 0e76635d8e111dcc46dad9f7eb6ea65155441755 | |
parent | 94f37108c020eb459e8ab0b33512219bdce79741 (diff) | |
download | pecan-6667c75f37efd8aa7e82c5727f8007e7dacc90ba.tar.gz |
trying to fix RuntimeError tests
-rw-r--r-- | pecan/tests/test_conf.py | 24 |
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 |