From b1bd77d9622a19b7cc97f5d71d5777b594054602 Mon Sep 17 00:00:00 2001 From: Johan Kiviniemi Date: Fri, 27 Dec 2013 03:24:08 +0200 Subject: [PATCH] =?UTF-8?q?test=5Fsettings:=20ValueError=20=E2=86=92=20Mis?= =?UTF-8?q?singConfigException?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/test_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_settings.py b/test/test_settings.py index 8072706..56430ef 100644 --- a/test/test_settings.py +++ b/test/test_settings.py @@ -13,7 +13,7 @@ class SettingsTest(unittest.TestCase): def test_missing(self): "Validates that a non-existant settings.py causes an exception" - self.assertRaises(ValueError, self.s.parse, "doesnotexist.py") + self.assertRaises(configParser.MissingConfigException, self.s.parse, "doesnotexist.py") def test_existing_file(self): self.s.parse("test/data/settings/settings_test_1.py")