Revision 3ae60112 kamaki/clients/livetest/image.py
b/kamaki/clients/livetest/image.py | ||
---|---|---|
63 | 63 |
|
64 | 64 |
def _prepare_img(self): |
65 | 65 |
f = open(self['image', 'local_path'], 'rb') |
66 |
(token, uuid) = (self['token'], self['store', 'account'])
|
|
66 |
(token, uuid) = (self['token'], self['file', 'account'])
|
|
67 | 67 |
if not uuid: |
68 | 68 |
from kamaki.clients.astakos import AstakosClient |
69 | 69 |
uuid = AstakosClient(self['astakos', 'url'], token).term('uuid') |
70 | 70 |
from kamaki.clients.pithos import PithosClient |
71 |
self.pithcli = PithosClient(self['store', 'url'], token, uuid)
|
|
71 |
self.pithcli = PithosClient(self['file', 'url'], token, uuid)
|
|
72 | 72 |
cont = 'cont_%s' % self.now |
73 | 73 |
self.pithcli.container = cont |
74 | 74 |
self.obj = 'obj_%s' % self.now |
Also available in: Unified diff