Revision 34f48ce0 kamaki/clients/test/pithos.py
b/kamaki/clients/test/pithos.py | ||
---|---|---|
758 | 758 |
self.assertEqual( |
759 | 759 |
post.mock_calls[-1], |
760 | 760 |
call(update=True, groups={group: []})) |
761 |
|
|
762 |
def test_get_account_quota(self): |
|
763 |
key = 'x-account-policy-quota' |
|
764 |
with patch.object(PC, 'get_account_info', return_value=account_info): |
|
765 |
r = self.client.get_account_quota() |
|
766 |
self.assertEqual(r[key], account_info[key]) |
Also available in: Unified diff