def MockCreateBucket(self, bucket_name):
    """Creates a simple bucket without exercising the API directly."""
    if bucket_name in self.buckets:
      raise ServiceException(bucket_name % 'Bucket %s already exists.',
                             status=409)
    self.buckets[bucket_name] = MockBucket(bucket_name)
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/mock_cloud_api.py/MockCloudApi.MockCreateBucket/swapped operands of `%`