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

All Samples(8)  |  Call(0)  |  Derive(5)  |  Import(3)

src/a/r/archetypes.schematuning-1.2/src/archetypes/schematuning/tests/test_update_schema.py   archetypes.schematuning(Download)
from Products.Archetypes.tests.utils import mkDummyInContext
 
from archetypes.schematuning.tests.base  import SchemaTuningTestCase
 
textfield1 = TextField('TEXTFIELD1', required=True, default='A')
class TestUpdateSchema(ZopeTestCase.Sandboxed, SchemaTuningTestCase):
 
    def afterSetUp(self):
        SchemaTuningTestCase.afterSetUp(self)
        self.attool = self.portal.archetype_tool
class TestBasicSchemaUpdate(SchemaTuningTestCase):
    """Tests for update schema behavior which depend only on the basic
       types, and examine baseline behavior when no real schema changes have
       happened."""
 

src/a/r/archetypes.schematuning-1.2/src/archetypes/schematuning/tests/test_storage.py   archetypes.schematuning(Download)
from DateTime import DateTime
 
from archetypes.schematuning.tests.base  import SchemaTuningTestCase
 
class ChangeStorageTest(SchemaTuningTestCase):

src/a/r/archetypes.schematuning-1.2/src/archetypes/schematuning/tests/test_fields.py   archetypes.schematuning(Download)
from Products.Archetypes.tests.utils import mkDummyInContext
 
from archetypes.schematuning.tests.base  import SchemaTuningTestCase
 
test_fields = [
class ProcessingTest(SchemaTuningTestCase):
 
    def afterSetUp(self):
        self.setRoles(['Manager'])
        SchemaTuningTestCase.afterSetUp(self)
class DownloadTest(SchemaTuningTestCase):
 
    def afterSetUp(self):
        # Set up a content object with a field that has a word
        # document in it