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

All Samples(40)  |  Call(26)  |  Derive(0)  |  Import(14)

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_storage.py   Products.Archetypes(Download)
from Products.Archetypes.tests.atsitetestcase import ATSiteTestCase
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_dummy
 
 
class ChangeStorageTest(ATSiteTestCase):
 
    def afterSetUp(self):
        gen_dummy()
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
        for field in dummy.schema.fields():
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
        for field in dummy.schema.fields():

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_filename.py   Products.Archetypes(Download)
 
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_dummy
from Products.Archetypes.tests.test_classgen import default_text
 
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
 
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
        file1 = open(os.path.join(PACKAGE_HOME, 'input', 'rest1.tgz'), 'r')

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_contenttype.py   Products.Archetypes(Download)
# this trigger zope imports
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_dummy
from Products.Archetypes.tests.test_classgen import default_text
 
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
 
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
        file1 = open(os.path.join(PACKAGE_HOME, 'input', 'rest1.tgz'), 'r')

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_baseunit.py   Products.Archetypes(Download)
from Products.Archetypes.atapi import BaseUnit
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_dummy
 
 
class BaseUnitTest(ATSiteTestCase):
 
    def testSame(self):
        gen_dummy()

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_annotation.py   Products.Archetypes(Download)
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_class
from Products.Archetypes.tests.test_classgen import gen_dummy
from Acquisition import aq_base
 
    def afterSetUp(self):
        gen_dummy()
        dummy = Dummy(oid='dummy')
        self.folder._setObject('dummy', dummy)
        self.folder.dummy.initializeArchetype()

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_storage.py   Products.Archetypes(Download)
from Products.Archetypes.tests.atsitetestcase import ATSiteTestCase
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_dummy
 
 
class ChangeStorageTest(ATSiteTestCase):
 
    def afterSetUp(self):
        gen_dummy()
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
        for field in dummy.schema.fields():
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
        for field in dummy.schema.fields():

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_filename.py   Products.Archetypes(Download)
 
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_dummy
from Products.Archetypes.tests.test_classgen import default_text
 
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
 
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
        file1 = open(os.path.join(PACKAGE_HOME, 'input', 'rest1.tgz'), 'r')

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_contenttype.py   Products.Archetypes(Download)
# this trigger zope imports
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_dummy
from Products.Archetypes.tests.test_classgen import default_text
 
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
 
    def afterSetUp(self):
        gen_dummy()
        self._dummy = dummy = Dummy(oid='dummy')
        self._dummy.initializeArchetype()
        file1 = open(os.path.join(PACKAGE_HOME, 'input', 'rest1.tgz'), 'r')

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_baseunit.py   Products.Archetypes(Download)
from Products.Archetypes.atapi import BaseUnit
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_dummy
 
 
class BaseUnitTest(ATSiteTestCase):
 
    def testSame(self):
        gen_dummy()

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_annotation.py   Products.Archetypes(Download)
from Products.Archetypes.tests.test_classgen import Dummy
from Products.Archetypes.tests.test_classgen import gen_class
from Products.Archetypes.tests.test_classgen import gen_dummy
from Acquisition import aq_base
 
    def afterSetUp(self):
        gen_dummy()
        dummy = Dummy(oid='dummy')
        self.folder._setObject('dummy', dummy)
        self.folder.dummy.initializeArchetype()

  1 | 2  Next