diff --git a/tests/test_core.py b/tests/test_core.py index 748b9f673..3d1a6e70d 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()