def setUp(self): super(ThresholdTest, self).setUp() self.http_client = fake_client.FakeHTTPClient(fixtures=fixtures) self.api = client.BaseClient(self.http_client) self.mgr = hashmap.ThresholdManager(self.api) self.resource = self.mgr.get( threshold_id=SERVICE_THRESHOLD1['threshold_id'])
def setUp(self): super(GroupTest, self).setUp() self.http_client = fake_client.FakeHTTPClient(fixtures=fixtures) self.api = client.BaseClient(self.http_client) self.mgr = hashmap.GroupManager(self.api) self.resource = self.mgr.get(group_id=GROUP2['group_id'])
def setUp(self): super(GroupManagerTest, self).setUp() self.http_client = fake_client.FakeHTTPClient(fixtures=fixtures) self.api = client.BaseClient(self.http_client) self.mgr = hashmap.GroupManager(self.api)
def setUp(self): super(MappingTest, self).setUp() self.http_client = fake_client.FakeHTTPClient(fixtures=fixtures) self.api = client.BaseClient(self.http_client) self.mgr = hashmap.MappingManager(self.api) self.resource = self.mgr.get(mapping_id=FIELD_MAPPING1['mapping_id'])
def setUp(self): super(FieldTest, self).setUp() self.http_client = fake_client.FakeHTTPClient(fixtures=fixtures) self.api = client.BaseClient(self.http_client) self.mgr = hashmap.FieldManager(self.api) self.resource = self.mgr.get(field_id=FIELD1['field_id'])
def setUp(self): super(ServiceTest, self).setUp() self.http_client = fake_client.FakeHTTPClient(fixtures=fixtures) self.api = client.BaseClient(self.http_client) self.mgr = hashmap.ServiceManager(self.api) self.resource = self.mgr.get(service_id=SERVICE3['service_id'])
def setUp(self): super(CloudkittyModuleTest, self).setUp() self.http_client = fake_client.FakeHTTPClient(fixtures=fixtures) self.api = client.BaseClient(self.http_client) self.mgr = cloudkittyclient.v1.core.CloudkittyModuleManager(self.api)