Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add smoke test for legacy app.

  • Loading branch information...
commit 7fdfe0376de83c8a7291074a02c7b70b3276df9c 1 parent 747929a
Aymeric Augustin aaugustin authored
Showing with 11 additions and 0 deletions.
  1. +1 −0  django_www/settings.py
  2. +10 −0 legacy/tests.py
1  django_www/settings.py
View
@@ -83,6 +83,7 @@
'aggregator',
'cla',
'docs',
+ 'legacy',
'svntogit',
'tracdb',
'registration',
10 legacy/tests.py
View
@@ -0,0 +1,10 @@
+from django.test import TestCase
+
+class LegacyTests(TestCase):
+ urls = 'legacy.urls'
+
+ # Just a smoke test to ensure the URLconf works
+
+ def test_gone(self):
+ response = self.client.get('/comments/')
+ self.assertEquals(response.status_code, 410)
Please sign in to comment.
Something went wrong with that request. Please try again.