Exemple #1
0
 def require_free_space(self, space):
     """
     Skip test if not enough free space is available in test testdir.
     """
     if self.get_free_space(self.testdir) < space:
         futils.skip('Not enough free space ({} MiB required)'
                     .format(space / MiB))
Exemple #2
0
 def require_free_space(self, space):
     if self.get_free_space(self.testdir) < space:
         futils.skip('Not enough free space ({} MiB required)'.format(
             space / MiB))