def testFileDeletion(self):
            master = self.master
            n = self._batchDeletionSize()
            for numFiles in (1, n - 1, n, n + 1, 2 * n):
                job = master.create('1', 2, 3, 4, preemptable=True)
                fileIDs = [master.getEmptyFileStoreID(job.jobStoreID) for _ in xrange(0, numFiles)]
                master.delete(job.jobStoreID)
                for fileID in fileIDs:
                    self.assertRaises(NoSuchFileException, master.readFileStream(fileID).__enter__)
cputime_for_process correctly calculates the CPU percentage for
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/test/jobStores/jobStoreTest.py/hidden.AbstractJobStoreTest.testFileDeletion--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/benchmark/test/test_metrics_parser.py/MetricsParserTests.test_cpu_usage_for_process_calculates_result