Module: deluge Branch: 1.3-stable Commit: eaad86788599490535d0e094586baaeba0c905b9
Author: John Garland <[email protected]> Date: Mon Aug 30 23:49:49 2010 +1000 Update get_free_space test --- tests/test_core.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/test_core.py b/tests/test_core.py index 7bedef4..1a2cb56 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() -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
