Revision a6439733
b/kamaki/clients/test/pithos.py | ||
---|---|---|
814 | 814 |
with patch.object(PC, 'account_post', return_value=self.FR()) as post: |
815 | 815 |
self.client.set_account_quota(qu) |
816 | 816 |
self.assertEqual(post.mock_calls[-1], call(update=True, quota=qu)) |
817 |
|
|
818 |
def test_set_account_versioning(self): |
|
819 |
vrs = 'n3wV3r51on1ngTyp3' |
|
820 |
with patch.object(PC, 'account_post', return_value=self.FR()) as post: |
|
821 |
self.client.set_account_versioning(vrs) |
|
822 |
self.assertEqual( |
|
823 |
post.mock_calls[-1], |
|
824 |
call(update=True, versioning=vrs)) |
Also available in: Unified diff