class CoverageAnalyzerTest(unittest.TestCase): def setUp(self): self.project = Project.objects.create(url="media/sources/fake-github.tar.gz") self.analyzer = CoverageAnalyzer(self.project) @unittest.skip def test_get_coverage_from_project(self): coverage = self.analyzer.analyze() self.assertEquals(17, coverage)
def setUp(self): self.project = Project.objects.create(url="media/sources/fake-github.tar.gz") self.analyzer = CoverageAnalyzer(self.project)