Exemplo n.º 1
0
 def test_df(self):
     try:
         from posix import statvfs_result  # noqa
     except ImportError:
         raise SkipTest('statvfs not available')
     x = df('/')
     self.assertTrue(x.total_blocks)
     self.assertTrue(x.available)
     self.assertTrue(x.capacity)
     self.assertTrue(x.stat)
Exemplo n.º 2
0
 def test_df(self):
     try:
         from posix import statvfs_result  # noqa
     except ImportError:
         raise SkipTest('statvfs not available')
     x = df('/')
     self.assertTrue(x.total_blocks)
     self.assertTrue(x.available)
     self.assertTrue(x.capacity)
     self.assertTrue(x.stat)
Exemplo n.º 3
0
 def test_df(self):
     x = df('/')
     self.assertTrue(x.total_blocks)
     self.assertTrue(x.available)
     self.assertTrue(x.capacity)
     self.assertTrue(x.stat)
Exemplo n.º 4
0
def test_df():
    x = df('/')
    assert x.total_blocks
    assert x.available
    assert x.capacity
    assert x.stat