[test/disk] Fix unit test for disk module

This commit is contained in:
Tobi-wan Kenobi 2017-03-10 08:26:33 +01:00
parent 16c202a7ed
commit bb2ed63528

View file

@ -12,7 +12,7 @@ class MockVFS(object):
def __init__(self, perc):
self.f_blocks = 1024*1024
self.f_frsize = 1
self.f_bavail = self.f_blocks - self.f_blocks*(perc/100.0)
self.f_bfree = self.f_blocks*(1.0 - perc/100.0)
class TestDiskModule(unittest.TestCase):
def setUp(self):