def test_location_setter(self):
        NAME = 'name'
        bucket = self._makeOne(name=NAME)
        self.assertEqual(bucket.location, None)
        bucket.location = 'AS'
        self.assertEqual(bucket.location, 'AS')
        self.assertTrue('location' in bucket._changes)
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/storage/test_bucket.py/Test_Bucket.test_location_setter/original