def testMultiMatchWildcardedBucketUri(self):
    exp_obj_uri_strs = set([
        suri(self.test_bucket0_uri) + self.test_bucket0_uri.delim,
        suri(self.test_bucket1_uri) + self.test_bucket1_uri.delim])
    actual_obj_uri_strs = set(
        str(u) for u in self._test_wildcard_iterator(
            '%s*' % self.base_uri_str).IterBuckets(bucket_fields=['id']))
    self.assertEqual(exp_obj_uri_strs, actual_obj_uri_strs)
Tests matching a multiple buckets based on a wildcarded bucket URI.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/test_wildcard_iterator.py/CloudWildcardIteratorTests.testMultiMatchWildcardedBucketUri