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

def test_valid_view_name(self):

    resolved_url = resolve_url(u'django.contrib.auth.views.logout')
    self.assertEqual(u'/accounts/logout/', resolved_url)
