1
Fork 0
This commit is contained in:
Jake Howard 2016-01-31 19:08:46 +00:00
parent 34bd1d7415
commit f24ff7cb39
2 changed files with 7 additions and 1 deletions

View file

@ -69,3 +69,9 @@ class RoboticsTestCase(TestCase):
def test_2015_code_accessable(self): def test_2015_code_accessable(self):
response = self.client.get(reverse('robotics:2015-code')) response = self.client.get(reverse('robotics:2015-code'))
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 200)
class CollegeTestCase(TestCase):
def test_attack_on_blocks_accessable(self):
response = self.client.get(reverse('college:attack-on-blocks'))
self.assertEqual(response.status_code, 200)

View file

@ -8,7 +8,7 @@ urlpatterns = [
url(r'^404/', Custom404View.as_view(), name="404"), url(r'^404/', Custom404View.as_view(), name="404"),
url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"), url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"),
url(r'^about/', include('project.pages.urls.about', namespace='about')), url(r'^about/', include('project.pages.urls.about', namespace='about')),
url(r'^college/', include('project.pages.urls.college', namespace='colldge')), url(r'^college/', include('project.pages.urls.college', namespace='college')),
url(r'^core/', include('project.pages.urls.core', namespace='core')), url(r'^core/', include('project.pages.urls.core', namespace='core')),
url(r'^projects/', include('project.pages.urls.projects', namespace='projects')), url(r'^projects/', include('project.pages.urls.projects', namespace='projects')),
url(r'^robotics/', include('project.pages.urls.robotics', namespace='robotics')), url(r'^robotics/', include('project.pages.urls.robotics', namespace='robotics')),