Did I find the right examples for you? yes no

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

src/c/o/collective.themeswitcher-1.0a2/collective/themeswitcher/tests/test_switcher.py   collective.themeswitcher(Download)
        self.switcher.portal_registry.registry["collective.themeswitcher.theme.mobile"] = "plonetheme.mobile"
        self.switcher.update()
        self.assertNotEqual(self.switcher.theme, "plonetheme.mobile")
        #reset cache
        self.switcher._is_mobile = None