Revision ec6f741b snf-pithos-app/pithos/api/test/__init__.py

b/snf-pithos-app/pithos/api/test/__init__.py
239 239
            new_callable=PropertyMock)
240 240
        mock_api_oauth2_auth.return_value = '/astakos/oauth2/'
241 241

  
242
        mock_service_get_quotas = self.create_patch(
243
            'astakosclient.AstakosClient.service_get_quotas')
244
        mock_service_get_quotas.return_value = {
245
            self.user: {
246
                "system": {
247
                    "pithos.diskspace": {
248
                        "usage": 0,
249
                        "limit": 1073741824,  # 1GB
250
                        "pending": 0}}}}
251

  
242 252
    def tearDown(self):
243 253
        #delete additionally created metadata
244 254
        meta = self.get_account_meta()

Also available in: Unified diff