Code

Opened 8 years ago

Closed 6 years ago

#2175 closed defect (fixed)

GenericForeignKey tests should have test for a model with multiple GenericForeignKeys

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

Description

GenericForeignKey tests should have test for a model with multiple GenericForeignKeys; not only to test it, but also as an example until documentation appears :)

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Gary Wilson <gary.wilson@…>

  • Triage Stage changed from Unreviewed to Accepted

tests are always nice.

comment:2 Changed 6 years ago by lukeplant

  • Resolution set to fixed
  • Status changed from new to closed

(In [8170]) Fixed #2175: Added tests for models with multiple GenericForeignKeys

Also fixed small typo in a docstring.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.