'Tests that passing a view name to ``resolve_url`` will result in the
URL path mapping to that view name.'

def test_view_function(self):

    resolved_url = resolve_url(logout)
    self.assertEqual(u'/accounts/logout/', resolved_url)
