def check(self, repair=False, status=True):
        self.assert_equal(self.repository.check(repair=repair), status)
        # Make sure no tmp files are left behind
        self.assert_equal([name for name in os.listdir(os.path.join(self.tmppath, 'repository')) if 'tmp' in name], [], 'Found tmp files')
dataset/ETHPy150Open borgbackup/borg/borg/testsuite/repository.py/RepositoryCheckTestCase.check/original