Revision edd209d3 kamaki/clients/test/pithos.py

b/kamaki/clients/test/pithos.py
808 808
            self.assertEqual(
809 809
                post.mock_calls[-1],
810 810
                call(update=True, metadata=metas))
811

  
812
    def test_set_account_quota(self):
813
        qu = 1024
814
        with patch.object(PC, 'account_post', return_value=self.FR()) as post:
815
            self.client.set_account_quota(qu)
816
            self.assertEqual(post.mock_calls[-1], call(update=True, quota=qu))

Also available in: Unified diff