Test signup page URL

- also fix some spaces
parent a2732b1d
Pipeline #856 passed with stage
in 1 minute and 12 seconds
......@@ -53,6 +53,13 @@ class UrlsTest(TestCase):
"""
/about - About page.
"""
def test_view_full_slug(self):
def test_about(self):
url = reverse('about')
self.assertEqual(url, '/about')
"""
/signup - Signup page for access.
"""
def test_signup(self):
url = reverse('signup')
self.assertEqual(url, '/signup')
......@@ -61,5 +61,4 @@ else:
urlpatterns += [
# Redirection regex.
url(r'^(?P<short>[-\w]+)$', go.views.redirection, name='redirection'),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment