summaryrefslogtreecommitdiff
path: root/tests/model_forms
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:11:20 +0200
commitcff59bedc23fd4d53557f677ddc42402b56963d0 (patch)
tree3ee14b070476d65b89fa0d5cdadb415e6710fa89 /tests/model_forms
parentc70a61eb49e4ed8f3b2a5011a7a5e6cda43c8598 (diff)
Split ignores_nulls_in_unique_constraints feature.
Oracle and SQL Server don't have exactly the same limitations. It's worth treating them differently.
Diffstat (limited to 'tests/model_forms')
-rw-r--r--tests/model_forms/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index 20bdc2b79e..c3b4c339c0 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -650,7 +650,7 @@ class UniqueTest(TestCase):
form = TripleForm({'left': '1', 'middle': '3', 'right': '1'})
self.assertTrue(form.is_valid())
- @skipUnlessDBFeature('ignores_nulls_in_unique_constraints')
+ @skipUnlessDBFeature('supports_nullable_unique_constraints')
def test_unique_null(self):
title = 'I May Be Wrong But I Doubt It'
form = BookForm({'title': title, 'author': self.writer.pk})