def _calculate_fit_value(self, ext, dataset): orig_dataset_path = "{0}.{1}".format(dataset, ext) testfile_dataset_path_base = temp_archive_filename( self.testfile, dataset) testfile_dataset_path = "{0}.{1}".format( testfile_dataset_path_base, ext) print testfile_dataset_path orig_dataset_size = os.path.getsize(orig_dataset_path) testfile_dataset_size = os.path.getsize(testfile_dataset_path) return testfile_dataset_size - orig_dataset_size
def _result_filename(self): return temp_archive_filename(self.testfile, self.dataset)