  def testGetBucketSize(self, mock_gcm_api):
    """Test GCS Bucket Size operation."""
    services = mock_gcm_api.return_value.projects.return_value.timeSeries.return_value.list
    services.return_value.execute.return_value = gcp_mocks.MOCK_GCM_METRICS_BUCKETSIZE
    size_results = gcp_mocks.FAKE_GCS.GetBucketSize('gs://test_bucket_1')
    self.assertEqual(1, len(size_results))
    self.assertEqual(60, size_results['test_bucket_1'])
Test GCS Bucket Size operation.
tests/providers/gcp/internal/test_storage.py