Revision 2feb9477 kamaki/clients/livetest/image.py

b/kamaki/clients/livetest/image.py
49 49
class Image(livetest.Generic):
50 50
    def setUp(self):
51 51
        self.now = time.mktime(time.gmtime())
52
        self.remote = 'remote.%s' % self['testremote']
53
        aurl, self.token = self[self.remote, 'url'], self[self.remote, 'token']
52
        self.cloud = 'cloud.%s' % self['testcloud']
53
        aurl, self.token = self[self.cloud, 'url'], self[self.cloud, 'token']
54 54
        self.auth_base = AstakosCachedClient(aurl, self.token)
55 55
        self.imgname = 'img_%s' % self.now
56 56
        url = self.auth_base.get_service_endpoints('image')['publicURL']

Also available in: Unified diff