Update get_free_space test
This commit is contained in:
parent
f6b9f67df8
commit
eaad867885
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue