[Django] #21746: test_get_reverse_on_unsaved_object doesn't respect DatabaseFeatures.ignores_nulls_in_unique_constraints

8 views
Skip to first unread message

Django

unread,
Jan 8, 2014, 10:52:06 AM1/8/14
to django-...@googlegroups.com
#21746: test_get_reverse_on_unsaved_object doesn't respect
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
-----------------------------------+--------------------
'''test_get_reverse_on_unsaved_object''' doesn't respect
{{{DatabaseFeatures.ignores_nulls_in_unique_constraints}}} by attempting
to insert multiple NULL rows in to a unique constraint.

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

Django

unread,
Jan 8, 2014, 10:57:21 AM1/8/14
to django-...@googlegroups.com
#21746: test_get_reverse_on_unsaved_object doesn't respect
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/2151

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

Django

unread,
Jan 8, 2014, 11:08:14 AM1/8/14
to django-...@googlegroups.com
#21746: test_get_reverse_on_unsaved_object doesn't respect
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:"1dbbdb29a040106f072a4a0315a066a251cc4939"]:
{{{
#!CommitTicketReference repository=""
revision="1dbbdb29a040106f072a4a0315a066a251cc4939"
Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.

Test will no longer attempt to insert multiple NULL rows in to a unique
field if the database doesn't support it.
}}}

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

Django

unread,
Jan 8, 2014, 11:08:15 AM1/8/14
to django-...@googlegroups.com
#21746: test_get_reverse_on_unsaved_object doesn't respect
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:"fa250c2cf9d9f7b06468e010c86594bf4bb55cf5"]:
{{{
#!CommitTicketReference repository=""
revision="fa250c2cf9d9f7b06468e010c86594bf4bb55cf5"
Merge pull request #2151 from manfre/ticket-21746

Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.
}}}

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

Reply all
Reply to author
Forward
0 new messages