Example #1
0
 def append_coverage(self, new_coverage):
     '''
     Appends the given coverage to the existing coverage
     FIXME: must be synchronized - thread friendly
     '''
     old_coverage = self.load_coverage()
     old_coverage.append(new_coverage)
     utils.save_coverage(old_coverage, self.coverage_file)
Example #2
0
 def append_coverage(self, new_coverage):
     '''
     Appends the given coverage to the existing coverage
     FIXME: must be synchronized - thread friendly
     '''
     old_coverage = self.load_coverage()
     old_coverage.append(new_coverage)
     utils.save_coverage(old_coverage, self.coverage_file)
Example #3
0
 def reset_coverage(self):
     '''
     Cleans coverage from previous runs
     '''
     utils.save_coverage([], self.coverage_file)
Example #4
0
 def reset_coverage(self):
     '''
     Cleans coverage from previous runs
     '''
     utils.save_coverage([], self.coverage_file)