Did I find the right examples for you? yes no

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

src/c/o/collective.themeswitcher-1.0a2/collective/themeswitcher/tests/test_switcher.py   collective.themeswitcher(Download)
import unittest2 as unittest
from collective.themeswitcher.tests import base, fake
from collective.themeswitcher.switcher import RegistryThemeSwitcher,\
    PloneThemeSwitcher, MobileThemeSwitcher
 
    def setUp(self):
        super(UnitTestPloneThemeSwitcher, self).setUp()
        self.switcher = PloneThemeSwitcher(self.portal, self.request)
        self.switcher.portal_registry = fake.FakeRegistry()
        self.switcher.available_skins = ['Sunburst Theme', 'Plone Classic Theme']
    def setUp(self):
        super(IntegrationTestPloneThemeSwitcher, self).setUp()
        self.switcher = PloneThemeSwitcher(self.portal, self.request)
 
    def test_update(self):