[Django] #21745: UniqueTest.test_unique_null should honor DatabaseFeatures.ignores_nulls_in_unique_constraints

9 views
Skip to first unread message

Django

unread,
Jan 8, 2014, 9:49:36 AM1/8/14
to django-...@googlegroups.com
#21745: UniqueTest.test_unique_null should honor
DatabaseFeatures.ignores_nulls_in_unique_constraints
-----------------------------------+--------------------
Reporter: manfre | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 1 | UI/UX: 0
-----------------------------------+--------------------
{{{UniqueTest.test_unique_null}}} should honor
{{{DatabaseFeatures.ignores_nulls_in_unique_constraints}}} and skip the
test if the backend doesn't support this functionality.

--
Ticket URL: <https://code.djangoproject.com/ticket/21745>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 8, 2014, 9:55:16 AM1/8/14
to django-...@googlegroups.com
#21745: UniqueTest.test_unique_null should honor
DatabaseFeatures.ignores_nulls_in_unique_constraints
-----------------------------------+--------------------------------------

Reporter: manfre | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by manfre):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

https://github.com/django/django/pull/2150

--
Ticket URL: <https://code.djangoproject.com/ticket/21745#comment:1>

Django

unread,
Jan 8, 2014, 10:09:55 AM1/8/14
to django-...@googlegroups.com
#21745: UniqueTest.test_unique_null should honor
DatabaseFeatures.ignores_nulls_in_unique_constraints
-----------------------------------+--------------------------------------
Reporter: manfre | Owner: nobody
Type: Bug | Status: closed

Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Unreviewed

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by Michael Manfre <mmanfre@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"8845ab62f553f29561decdbabd6eb0ea96c3c1d6"]:
{{{
#!CommitTicketReference repository=""
revision="8845ab62f553f29561decdbabd6eb0ea96c3c1d6"
Fixed #21745 - Feature check UniqueTest.test_unique_null
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21745#comment:2>

Django

unread,
Jan 8, 2014, 10:09:55 AM1/8/14
to django-...@googlegroups.com
#21745: UniqueTest.test_unique_null should honor
DatabaseFeatures.ignores_nulls_in_unique_constraints
-----------------------------------+--------------------------------------
Reporter: manfre | Owner: nobody
Type: Bug | Status: closed

Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Unreviewed

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------------+--------------------------------------

Comment (by Anssi Kääriäinen <akaariai@…>):

In [changeset:"96911261eac4c958e686013fbf65f1cbe085bc91"]:
{{{
#!CommitTicketReference repository=""
revision="96911261eac4c958e686013fbf65f1cbe085bc91"
Merge pull request #2150 from manfre/ticket-21745

Fixed #21745 - Feature check UniqueTest.test_unique_null
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21745#comment:3>

Reply all
Reply to author
Forward
0 new messages