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

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

src/c/o/collective.gallery-HEAD/collective/gallery/tests/test_picasa.py   collective.gallery(Download)
    def getAdapter(self, url):
        from collective.gallery.link import picasaweb
        self.context.remoteUrl = url
        adapter = picasaweb.Link(self.context)
        adapter.settings = utils.FakeProperty
    def testCheckURL(self):
        from collective.gallery.link import picasaweb
        self.assertTrue(picasaweb.check(NONAUTH_URL))
        self.assertTrue(picasaweb.check(AUTH_URL))
        self.assertTrue(picasaweb.check(HTTPS_URL))

src/c/o/collective.gallery-2.0.1/collective/gallery/tests/test_picasa.py   collective.gallery(Download)
    def getAdapter(self, url):
        from collective.gallery.link import picasaweb
        self.context.remoteUrl = url
        adapter = picasaweb.Link(self.context)
        adapter.settings = utils.FakeProperty
    def testCheckURL(self):
        from collective.gallery.link import picasaweb
        self.assertTrue(picasaweb.check(NONAUTH_URL))
        self.assertTrue(picasaweb.check(AUTH_URL))
        self.assertTrue(picasaweb.check(HTTPS_URL))