diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-05-07 22:03:10 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-05-08 22:53:11 +0200 |
| commit | 92a1e71100427e0d6e16b9c2bb355ea0a48eb71d (patch) | |
| tree | 524724ebbd05fc968ea2624f23225359903a9e10 /tests/model_forms | |
| parent | e3bc11cca9425367efb4ce1eb923785895a83c1b (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_forms')
| -rw-r--r-- | tests/model_forms/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py index 38d1260de0..9a88ff60f0 100644 --- a/tests/model_forms/tests.py +++ b/tests/model_forms/tests.py @@ -660,7 +660,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}) |
