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)
    def test_isMobile(self):
        for UA in TEST_MOBILE_UA:
            self.switcher._is_mobile = None
            self.request["HTTP_USER_AGENT"] = UA
            self.assertTrue(self.switcher.isMobile(), UA)