def test_results(self): c1 = StaticCollector(mk_coverage_results()) c2 = StaticCollector(mk_coverage_results()) c = CollectorSet([c1, c2]) r = c.results() self.assertEqual(r.files, c1.results().files + c2.results().files)
def test_results_empty_set(self): c = CollectorSet([]) r = c.results() self.assertEqual(r.files, [])