

def test_stat_bucket_wildcard(self):
    bucket_uri = self.CreateBucket()
    self.CreateObject(bucket_uri=bucket_uri, object_name='foo', contents='z')
    stat_string = (suri(bucket_uri)[:(- 1)] + '?/foo')
    self.RunGsUtil(['stat', stat_string])
    stat_string2 = (suri(bucket_uri)[:(- 1)] + '*/foo')
    self.RunGsUtil(['stat', stat_string2])

dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/test_stat.py TestStat.test_stat_bucket_wildcard/original