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/a/r/archetypes.schematuning-1.2/src/archetypes/schematuning/tests/test_fields.py   archetypes.schematuning(Download)
    def afterSetUp(self):
        self.setRoles(['Manager'])
        SchemaTuningTestCase.afterSetUp(self)
        self._dummy = mkDummyInContext(Dummy, oid='dummy', context=self.portal,
                                       schema=schema)
    def afterSetUp(self):
        # Set up a content object with a field that has a word
        # document in it
        SchemaTuningTestCase.afterSetUp(self)
        self.dummy = mkDummyInContext(

src/a/r/archetypes.schematuning-1.2/src/archetypes/schematuning/tests/test_update_schema.py   archetypes.schematuning(Download)
    def afterSetUp(self):
        SchemaTuningTestCase.afterSetUp(self)
        self.attool = self.portal.archetype_tool
        # Calling mkDummyInContext adds content, but also registers
        # our classes and adds a copy of the schema.