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

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)
The bridge was not configured well.
    

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/config.py   ftw.bridge.client(Download)
from ftw.bridge.client.exceptions import BridgeConfigurationError
from ftw.bridge.client.interfaces import IBridgeConfig
from zope.interface import implements
import os
 
    def get_url(self):
        url = os.environ.get('bridge_url', None)
        if url is None:
            raise BridgeConfigurationError()
        return url
 
    def get_bridge_ips(self):
        ips = os.environ.get('bridge_ips', None)
        if ips is None:
            raise BridgeConfigurationError()
    def get_client_id(self):
        id_ = os.environ.get('bridge_client_id', None)
        if id_ is None:
            raise BridgeConfigurationError()
 

src/f/t/ftw.bridge.client-1.0.8/ftw/bridge/client/tests/test_config.py   ftw.bridge.client(Download)
from ftw.bridge.client.exceptions import BridgeConfigurationError
from ftw.bridge.client.interfaces import IBridgeConfig
from ftw.bridge.client.testing import ZCML_LAYER
from ftw.testing import MockTestCase
from zope.component import queryUtility, getUtility