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