summaryrefslogtreecommitdiff
path: root/tests/model_formsets
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-05-07 22:03:10 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-05-08 22:53:11 +0200
commit92a1e71100427e0d6e16b9c2bb355ea0a48eb71d (patch)
tree524724ebbd05fc968ea2624f23225359903a9e10 /tests/model_formsets
parente3bc11cca9425367efb4ce1eb923785895a83c1b (diff)
[1.7.x] Split ignores_nulls_in_unique_constraints feature.
Oracle and SQL Server don't have exactly the same limitations. It's worth treating them differently. Backport of cff59bed from master
Diffstat (limited to 'tests/model_formsets')
-rw-r--r--tests/model_formsets/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_formsets/tests.py b/tests/model_formsets/tests.py
index c1e01cd6be..85ef430b93 100644
--- a/tests/model_formsets/tests.py
+++ b/tests/model_formsets/tests.py
@@ -661,7 +661,7 @@ class ModelFormsetTest(TestCase):
self.assertEqual(book1.title, 'Flowers of Evil')
self.assertEqual(book1.notes, 'English translation of Les Fleurs du Mal')
- @skipUnlessDBFeature('ignores_nulls_in_unique_constraints')
+ @skipUnlessDBFeature('supports_partially_nullable_unique_constraints')
def test_inline_formsets_with_nullable_unique_together(self):
# Test inline formsets where the inline-edited object has a
# unique_together constraint with a nullable member