def test_report_data_from_coverage_2_covered_file(self):
     mc = MockCoverage(REPORT_TWO_FILES)
     files = called_modules_filenames(mc)
     self.assertEqual(files, ["foo.py", "bar.py"])
 def test_report_data_from_coverage_many_covered_files(self):
     files = called_modules_filenames(MockCoverage(REPORT_MANY_FILES))
     self.assertEqual(len(files), 8)
 def test_report_data_from_coverage_one_covered_file(self):
     mc = MockCoverage(REPORT_ONE_FILE)
     files = called_modules_filenames(mc)
     self.assertEqual(files, ["addsome\\test_satanic.py"])