summaryrefslogtreecommitdiff
path: root/public/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'public/tests.py')
-rw-r--r--public/tests.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/public/tests.py b/public/tests.py
index 49bbd2bb..d0140e98 100644
--- a/public/tests.py
+++ b/public/tests.py
@@ -13,7 +13,9 @@ class PublicTest(TestCase):
def test_art(self):
response = self.client.get('/art/')
- self.assertEqual(response.status_code, 200)
+ self.assertEqual(response.status_code, 302)
+ self.assertTrue(response['Location'].startswith(
+ 'https://projects.parabola.nu/artwork.git/')
def test_svn(self):
response = self.client.get('/svn/')
@@ -35,7 +37,9 @@ class PublicTest(TestCase):
def test_donate(self):
response = self.client.get('/donate/')
- self.assertEqual(response.status_code, 200)
+ self.assertEqual(response.status_code, 302)
+ self.assertEqual(response['Location'],
+ 'https://wiki.parabola.nu/Donations')
def test_download(self):
response = self.client.get('/download/')