Opened 8 years ago

Closed 8 years ago

#27514 closed Cleanup/optimization (fixed)

Add test coverage for Model.__init__ "Number of args..." exception

Reported by: Adam Johnson Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (3)

comment:2 by Simon Charette, 8 years ago

Triage Stage: UnreviewedAccepted
Version: 1.10master

comment:3 by Simon Charette <charettes@…>, 8 years ago

Resolution: fixed
Status: newclosed

In cc1f6f26:

Fixed #27514 -- Tested Model.init excessive number of fields.

Note: See TracTickets for help on using tickets.
Back to Top