0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Skip old style tests on Django 1.8 and above

This commit is contained in:
Karl Hobley 2015-04-24 16:23:12 +01:00 committed by Matt Westcott
parent 1384129d89
commit 4b4b4bcc74

View File

@ -1,3 +1,6 @@
import unittest
import django
from django.test import TestCase, RequestFactory
from django.core.urlresolvers import NoReverseMatch
@ -112,6 +115,7 @@ class TestNewStyleRoutablePage(TestCase):
self.assertContains(response, "EXTERNAL VIEW: ARG NOT SET")
@unittest.skipIf(django.VERSION >= (1, 8), "Old style routable pages don't work on Django 1.8")
class TestOldStyleRoutablePage(TestNewStyleRoutablePage):
model = OldStyleRoutablePageTest