[Django] #27514: Add test coverage for Model.__init__ "Number of args..." exception

13 views
Skip to first unread message

Django

unread,
Nov 20, 2016, 9:22:22 AM11/20/16
to django-...@googlegroups.com
#27514: Add test coverage for Model.__init__ "Number of args..." exception
-------------------------------------+-------------------------------------
Reporter: Adam | Owner: nobody
Chainz |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: 1.10
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Following #27512, the "Number of args exceeds number of fields" exception
has no test coverage ( http://djangoci.com/view/coverage/job/django-
coverage/HTML_Coverage_Report/_home_jenkins_workspace_django-
coverage_django_db_models_base_py.html#n478 ) but it should.

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

Django

unread,
Nov 20, 2016, 9:28:35 AM11/20/16
to django-...@googlegroups.com
#27514: Add test coverage for Model.__init__ "Number of args..." exception
-------------------------------------+-------------------------------------
Reporter: Adam Chainz | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Adam Chainz):

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

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

Django

unread,
Nov 20, 2016, 1:19:21 PM11/20/16
to django-...@googlegroups.com
#27514: Add test coverage for Model.__init__ "Number of args..." exception
-------------------------------------+-------------------------------------
Reporter: Adam Chainz | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: master

(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* version: 1.10 => master
* stage: Unreviewed => Accepted


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

Django

unread,
Nov 20, 2016, 1:22:14 PM11/20/16
to django-...@googlegroups.com
#27514: Add test coverage for Model.__init__ "Number of args..." exception
-------------------------------------+-------------------------------------
Reporter: Adam Chainz | Owner: nobody
Type: | Status: closed

Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette <charettes@…>):

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


Comment:

In [changeset:"cc1f6f26b68223bb5b332c774422173d7800bf80" cc1f6f26]:
{{{
#!CommitTicketReference repository=""
revision="cc1f6f26b68223bb5b332c774422173d7800bf80"
Fixed #27514 -- Tested Model.__init__ excessive number of fields.
}}}

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

Reply all
Reply to author
Forward
0 new messages