Revision 1f5debf7 kamaki/clients/tests/pithos.py

b/kamaki/clients/tests/pithos.py
38 38

  
39 39
from kamaki.clients import tests, ClientError
40 40
from kamaki.clients.pithos import PithosClient
41
from kamaki.clients.astakos import AstakosClient
41 42

  
42 43

  
43 44
class Pithos(tests.Generic):
......
48 49
        self.client = PithosClient(
49 50
            self['store', 'url'],
50 51
            self['store', 'token'],
51
            self['store', 'account'])
52
            AstakosClient(
53
                self['astakos', 'url'],
54
                self['store', 'token']
55
            ).term('uuid'))
52 56

  
53 57
        self.now = time.mktime(time.gmtime())
54 58
        self.now_unformated = datetime.datetime.utcnow()
......
58 62
        self.client.container = self.c1
59 63
        self.client.object_post('test',
60 64
            update=True,
61
            permissions={'read': 'someUser'})
65
            permissions={'read': [self.client.account]})
62 66

  
63 67
        self.create_remote_object(self.c1, 'another.test')
64 68

  

Also available in: Unified diff