def findLinksRel(link_attrs_list, target_rel):
    # XXX: TESTME
    matchesTarget = lambda attrs: linkHasRel(attrs, target_rel)
    return filter(matchesTarget, link_attrs_list)
Test that a view implementing GET and POST allows GET, HEAD, and POST.
dataset/ETHPy150Open CollabQ/CollabQ/openid/consumer/html_parse.py/findLinksRel--crossover with--dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/ViewTest.test_options_for_get_and_post_view