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

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

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_rename.py   Products.Archetypes(Download)
from Products.Archetypes.tests.utils import populateFolder
 
from Products.Archetypes.tests.utils import wrap_method
from Products.Archetypes.tests.utils import unwrap_method
from Products.Archetypes.utils import shasattr
            c.reset()
        for name, meth in meths.items():
            wrap_method(BaseContent, name, meth, pattern='__test_%s__')
 
    def beforeTearDown(self):

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_rename.py   Products.Archetypes(Download)
from Products.Archetypes.tests.utils import populateFolder
 
from Products.Archetypes.tests.utils import wrap_method
from Products.Archetypes.tests.utils import unwrap_method
from Products.Archetypes.utils import shasattr
            c.reset()
        for name, meth in meths.items():
            wrap_method(BaseContent, name, meth, pattern='__test_%s__')
 
    def beforeTearDown(self):