

def test_valid_view_name(self):
    '\n        Tests that passing a view function to ``resolve_url`` will result in\n        the URL path mapping to that view.\n        '
    resolved_url = resolve_url('django.contrib.auth.views.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_valid_view_name/VarMisuse@19/83 `self`->`resolved_url`