def test_exists_miss(self):
    NONESUCH = 'nonesuch'
    not_found_response = ({'status': http_client.NOT_FOUND}, b'')
    connection = _Connection(not_found_response)
    client = _Client(connection)
    bucket = _Bucket(client)
    blob = self._make_one(NONESUCH, bucket=bucket)
    self.assertFalse(blob.exists())
def test_exists_miss(self):
    NONESUCH = 'nonesuch'
    not_found_response = ({'status': http_client.NOT_FOUND}, b)
    connection = _Connection(not_found_response)
    client = _Client(connection)
    bucket = _Bucket(client)
    blob = self._make_one(NONESUCH, bucket=bucket)
    self.assertFalse(blob.exists())