def METHOD_NAME(
    self, mock_load_metadata, mocked_urlopen
):
    """Test success run"""
    input_buffer = '{"key": "value"}'
    etag = "ETAG_ONE"
    url = "http://foo.com"
    mock_load_metadata.return_value = {"etag": etag}
    cm = MagicMock()
    cm.getcode.return_value = 200
    cm.info.return_value = {"Content-Encoding": "gzip", "ETag": etag}
    cm.__enter__.return_value = cm
    mocked_urlopen.return_value = cm
    result = cfnlint.helpers.url_has_newer_version(url)
    # Python2 does not support caching, so will always return true
    self.assertFalse(result)