Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/q/u/quality_report-1.0/unittests/report_tests.py   quality_report(Download)
        quality_report = report.QualityReport(self.__project)
        section = quality_report.get_product_section(product.name(), 
                                                     product.product_version())
        self.assertEqual(product, section.product())
 
    def test_get_product_section_twice(self):
        ''' Test that the product section is cached. '''
        product = domain.Product(self.__project, 'FP', 'sonar.id')
        self.__project.add_product(product)
        name, version = product.name(), product.product_version()