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

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

src/p/y/Pymol-script-repo-HEAD/modules/ADT/mglutil/TestUtil/Tests/test_tester.py   Pymol-script-repo(Download)
    def test_loadTestsFromTestCase1(self):
        from Data.test_displayCommands import DisplayLinesTest
        suite = self.tl.loadTestsFromTestCase(DisplayLinesTest)
        self.failUnless(isinstance(suite, self.tl.suiteClass))
        self.assertEqual(len(suite._tests), 5)