

def test_stat_one_missing_wildcard(self):
    bucket_uri = stdout.CreateBucket()
    self.CreateObject(bucket_uri=bucket_uri, object_name='notmissing', contents='z')
    (stdout, stderr) = self.RunGsUtil(['stat', suri(bucket_uri, 'missin*'), suri(bucket_uri, 'notmissin*')], expected_status=1, return_stdout=True, return_stderr=True)
    self.assertIn((NO_URLS_MATCHED_TARGET % suri(bucket_uri, 'missin*')), stderr)
    self.assertIn(('%s:' % suri(bucket_uri, 'notmissing')), stdout)

dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/test_stat.py TestStat.test_stat_one_missing_wildcard/VarMisuse@12/20 `self`->`stdout`