diff --git a/project/pages/tests.py b/project/pages/tests.py index 4aa97db..288d784 100644 --- a/project/pages/tests.py +++ b/project/pages/tests.py @@ -30,3 +30,9 @@ class NoJavascriptTestCase(TestCase): def test_accessable(self): response = self.client.get(reverse('no-js')) self.assertEqual(response.status_code, 200) + + +class AllProjectsTestCase(TestCase): + def test_accessable(self): + response = self.client.get(reverse('pages:all-projects')) + self.assertEqual(response.status_code, 200) diff --git a/project/pages/urls.py b/project/pages/urls.py index bb490f6..05e1064 100644 --- a/project/pages/urls.py +++ b/project/pages/urls.py @@ -6,6 +6,7 @@ urlpatterns = [ url(r'^about/website/$', views.AboutWebsiteView.as_view(), name='about-website'), url(r'^about/me/$', views.AboutMeView.as_view(), name='about-me'), url(r'^about/$', views.AboutIndexView.as_view(), name='about'), + url(r'^projects/all/$', views.AllProjectsView.as_view(), name="all-projects"), url(r'^projects/(?P.+)/$', views.ProjectsView.as_view(), name="projects"), url(r'^$', views.IndexView.as_view(), name='index') ]