

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

dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/test_stat.py TestStat.test_stat_one_missing/VarMisuse@41/59 `self`->`stdout`