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

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

src/q/u/quality_report-1.0/unittests/report_tests.py   quality_report(Download)
        self.__project.add_product(product)
        quality_report = report.QualityReport(self.__project)
        section = quality_report.get_product_section(product.name(), 
                                                     product.product_version())
        self.assertEqual(product, section.product())
        name, version = product.name(), product.product_version()
        quality_report = report.QualityReport(self.__project)
        section1 = quality_report.get_product_section(name, version)
        section2 = quality_report.get_product_section(name, version)
        self.failUnless(section1 is section2)