summaryrefslogtreecommitdiff
path: root/public/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'public/tests.py')
-rw-r--r--public/tests.py48
1 files changed, 48 insertions, 0 deletions
diff --git a/public/tests.py b/public/tests.py
new file mode 100644
index 00000000..3f0c5308
--- /dev/null
+++ b/public/tests.py
@@ -0,0 +1,48 @@
+from django.test import TestCase
+
+
+class PublicTest(TestCase):
+
+ def test_index(self):
+ response = self.client.get('/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_about(self):
+ response = self.client.get('/about/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_art(self):
+ response = self.client.get('/art/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_svn(self):
+ response = self.client.get('/svn/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_developers(self):
+ response = self.client.get('/developers/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_fellows(self):
+ response = self.client.get('/fellows/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_donate(self):
+ response = self.client.get('/donate/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_download(self):
+ response = self.client.get('/download/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_irc(self):
+ response = self.client.get('/irc/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_moreforums(self):
+ response = self.client.get('/moreforums/')
+ self.assertEqual(response.status_code, 200)
+
+ def test_projects(self):
+ response = self.client.get('/projects/')
+ self.assertEqual(response.status_code, 200)