コード例 #1
0
 def setUp(self):
     super(TestProviderWrapper, self).setUp()
     self.provider_wrapper_obj = providers.ProviderWrapper()
     # fake a provider details to work with unittest
     self.fake_provider_details = {
         "Fastly":
         provider_details.ProviderDetail(
             provider_service_id=uuid.uuid1(),
             access_urls=['mydummywebsite.prod.fastly.com'])
     }
コード例 #2
0
    def __init__(self, manager):
        super(ServicesControllerBase, self).__init__(manager)

        self.provider_wrapper = providers.ProviderWrapper()
        self.notification_wrapper = notifications.NotificationWrapper()
コード例 #3
0
ファイル: services.py プロジェクト: malini-kamalambal/poppy
    def __init__(self, manager):
        super(ServicesControllerBase, self).__init__(manager)

        self.provider_wrapper = providers.ProviderWrapper()