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()