Unverified Commit c556c592 authored by David Haynes's avatar David Haynes
Browse files

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): ...@@ -53,6 +53,13 @@ class UrlsTest(TestCase):
""" """
/about - About page. /about - About page.
""" """
def test_view_full_slug(self): def test_about(self):
url = reverse('about') url = reverse('about')
self.assertEqual(url, '/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: ...@@ -61,5 +61,4 @@ else:
urlpatterns += [ urlpatterns += [
# Redirection regex. # Redirection regex.
url(r'^(?P<short>[-\w]+)$', go.views.redirection, name='redirection'), 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