Commit 8fb7cfaf by Daniel Hahler

Skip DeconstructTestCase with Django < 1.7

parent 6e9043a1
from __future__ import unicode_literals, absolute_import
from unittest import TestCase as UnitTestCase
from unittest import skipIf
import django
from django.conf import settings
......@@ -540,6 +541,7 @@ class TagStringParseTestCase(UnitTestCase):
self.assertEqual(edit_string_for_tags([comma, spaces]), '"com,ma", "spa ces"')
@skipIf(django.VERSION < (1, 7), "not relevant for Django < 1.7")
class DeconstructTestCase(UnitTestCase):
def test_deconstruct_kwargs_kept(self):
instance = TaggableManager(through=OfficialThroughModel)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment