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']) }
def __init__(self, manager): super(ServicesControllerBase, self).__init__(manager) self.provider_wrapper = providers.ProviderWrapper() self.notification_wrapper = notifications.NotificationWrapper()
def __init__(self, manager): super(ServicesControllerBase, self).__init__(manager) self.provider_wrapper = providers.ProviderWrapper()