Update get_free_space test

This commit is contained in:
John Garland 2010-08-30 23:49:49 +10:00
parent f6b9f67df8
commit eaad867885
1 changed files with 1 additions and 1 deletions

View File

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