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

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

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/tests/test_custom_style_adapter.py   ftw.publisher.core(Download)
from ftw.publisher.core.interfaces import IDataCollector
from ftw.publisher.core.testing import ONEGOV_THEME_INSTALLED
from ftw.publisher.core.testing import PUBLISHER_CORE_INTEGRATION_TESTING
from plone.app.testing import TEST_USER_ID
from plone.app.testing import TEST_USER_NAME
        login(self.portal, TEST_USER_NAME)
 
        if ONEGOV_THEME_INSTALLED:
            from plonetheme.onegov.interfaces import ICustomStyles
            self.custom = ICustomStyles(self.portal)