def METHOD_NAME():
    assert utils.urldecode('http://google.com/search?q=bar&x=y') == (
        'http://google.com/search',
        {'q': 'bar', 'x': 'y'},
    )
    assert utils.urldecode('google.com/search?q=bar&x=y') == (
        'google.com/search',
        {'q': 'bar', 'x': 'y'},
    )
    assert utils.urldecode('http://google.com/search') == (
        'http://google.com/search',
        {},
    )
    assert utils.urldecode('http://google.com/') == ('http://google.com/', {})
    assert utils.urldecode('http://google.com/?') == ('http://google.com/', {})
    assert utils.urldecode('?q=bar') == ('', {'q': 'bar'})