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

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

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_request.py   ftw.bridge.client(Download)
    def test_get_json_error(self):
        self._expect_request().throw(
            urllib2.URLError('Connection failed'))
 
        site = self.stub()
    def test_traversing(self):
        site = self.stub()
        self.expect(site.getSiteManager()).call(getGlobalSiteManager)
        self.expect(site.absolute_url()).result('http://nohost/plone')
 
    def test_silent_error_is_logged(self):
        self._expect_request().throw(
            urllib2.URLError('Connection failed'))
 
        site = self.stub()

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_watch_action_view.py   ftw.bridge.client(Download)
    def test_component_is_registered(self):
        context = self.stub()
        request = self.stub_request()
 
        self.replay()