]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2298] assert IOError raising instead of StatsHttpdDataError
authorNaoki Kambe <kambe@jprs.co.jp>
Fri, 26 Oct 2012 07:16:52 +0000 (16:16 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Fri, 26 Oct 2012 11:36:31 +0000 (20:36 +0900)
src/bin/stats/tests/b10-stats-httpd_test.py

index 412b524086aaab1523619f4bd469f13a55cb9b3e..7966f1266fb0384c08e4922e9874460139da631a 100644 (file)
@@ -720,7 +720,7 @@ class TestStatsHttpd(unittest.TestCase):
             self.assertTrue(lines.find(opts[n])>0)
         # unsuccessful condition
         self.assertRaises(
-            IOError,
+            stats_httpd.StatsHttpdDataError,
             self.stats_httpd.open_template, '/path/to/foo/bar')
 
     def test_commands(self):