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

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

        def buildCases(modName, feature, level):
    cases = []
    add = cases.append
    objects = sys.modules[modName].__dict__
    for obj in objects.keys():
        if obj[-8:] != 'TestCase': continue
        add((objects[obj], feature, level))

    return list(cases)
        


src/p/r/Products.ParsedXML-1.5.1/Products/ParsedXML/tests/domapi/Load3.py   Products.ParsedXML(Download)
 
 
cases = Base.buildCases(__name__, "Load", "3.0")
 

src/p/r/Products.ParsedXML-1.5.1/Products/ParsedXML/tests/domapi/CoreLvl3.py   Products.ParsedXML(Download)
 
 
cases = Base.buildCases(__name__, 'Core', '3.0')