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

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

src/f/t/ftw.contenttemplates-1.2.0/ftw/contenttemplates/tests/test_default_template_factory.py   ftw.contenttemplates(Download)
from ftw.builder import Builder
from ftw.builder import create
from ftw.contenttemplates.interfaces import IContentTemplatesSettings
from ftw.contenttemplates.interfaces import ICreateFromTemplate
from ftw.contenttemplates.testing import CONTENT_TEMPLATES_FUNCTIONAL_TESTING
class TestDefaultTemplateFactory(TestCase):
 
    layer = CONTENT_TEMPLATES_FUNCTIONAL_TESTING
    folder_type = 'folder'
 

src/f/t/ftw.contenttemplates-1.2.0/ftw/contenttemplates/tests/test_creation_form.py   ftw.contenttemplates(Download)
from ftw.contenttemplates.testing import CONTENT_TEMPLATES_FUNCTIONAL_TESTING
from ftw.contenttemplates.testing import HAS_DEXTERITY
from plone.app.testing import login, setRoles
from plone.app.testing import TEST_USER_ID, TEST_USER_NAME, TEST_USER_PASSWORD
from plone.testing.z2 import Browser
class TestSetup(unittest.TestCase):
 
    layer = CONTENT_TEMPLATES_FUNCTIONAL_TESTING
    folder_type = 'Folder'