Tests
This commit is contained in:
parent
34bd1d7415
commit
f24ff7cb39
2 changed files with 7 additions and 1 deletions
|
@ -69,3 +69,9 @@ class RoboticsTestCase(TestCase):
|
|||
def test_2015_code_accessable(self):
|
||||
response = self.client.get(reverse('robotics:2015-code'))
|
||||
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)
|
||||
|
|
|
@ -8,7 +8,7 @@ urlpatterns = [
|
|||
url(r'^404/', Custom404View.as_view(), name="404"),
|
||||
url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"),
|
||||
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'^projects/', include('project.pages.urls.projects', namespace='projects')),
|
||||
url(r'^robotics/', include('project.pages.urls.robotics', namespace='robotics')),
|
||||
|
|
Reference in a new issue