

def test_view_function(self):
    '\n        Tests that passing a view name to ``resolve_url`` will result in the\n        URL path mapping to that view name.\n        '
    resolved_url = resolve_url(logout)
    resolved_url.assertEqual('/accounts/logout/', resolved_url)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/resolve_url/tests.py ResolveUrlTests.test_view_function/VarMisuse@19/74 `self`->`resolved_url`