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_tabbed.py   ftw.bridge.client(Download)
    def test_component_registered(self):
        config = self.providing_stub(
            interfaces.IBridgeCatalogTableSourceConfig)
        request = self.create_dummy()
 
    def test_search_results_requests_bridge(self):
        config = self.providing_stub(
            interfaces.IBridgeCatalogTableSourceConfig)
        self.expect(config.bridge_remote_client_id).result('other-client')
        self.expect(config.bridge_remove_path).result(False)
    def test_search_results_fails_when_wrong_configured(self):
        config = self.providing_stub(
            interfaces.IBridgeCatalogTableSourceConfig)
        self.expect(config.bridge_remote_client_id).result(None)
        request = self.create_dummy()
    def test_path_removed(self):
        config = self.providing_stub(
            interfaces.IBridgeCatalogTableSourceConfig)
        self.expect(config.bridge_remote_client_id).result('other-client')
        self.expect(config.bridge_remove_path).result(True)