From eaad86788599490535d0e094586baaeba0c905b9 Mon Sep 17 00:00:00 2001 From: John Garland Date: Mon, 30 Aug 2010 23:49:49 +1000 Subject: [PATCH] Update get_free_space test --- tests/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_core.py b/tests/test_core.py index 7bedef453..1a2cb5698 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -102,7 +102,7 @@ class CoreTestCase(unittest.TestCase): space = self.core.get_free_space(".") self.assertTrue(type(space) in (int, long)) self.assertTrue(space >= 0) - self.assertRaises(deluge.error.InvalidPathError, self.core.get_free_space, "/someinvalidpath") + self.assertEquals(self.core.get_free_space("/someinvalidpath"), 0) def test_test_listen_port(self): d = self.core.test_listen_port()