Opened 4 years ago

Closed 2 years ago

Last modified 2 years ago

#16678 closed Cleanup/optimization (fixed)

Write tests for django.contrib.redirects

Reported by: julien Owned by: andrews
Component: contrib.redirects Version: 1.3
Severity: Normal Keywords:
Cc: martin.speleo@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I might be missing something but the redirects contrib app (well, that is basically the RedirectFallbackMiddleware) doesn't appear to be tested.

Change History (5)

comment:1 Changed 4 years ago by aaugustin

  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by martin.speleo@…

  • Cc martin.speleo@… added
  • Owner changed from nobody to martin.speleo

I will have a go at writing these tests, as long as that is not treading on anyones toes.

comment:3 Changed 4 years ago by andrews

  • Owner changed from martin.speleo to andrews

comment:4 Changed 2 years ago by Claude Paroz <claude@…>

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

In d9213d09dbb28f687b53d051cddcae03337066c8:

Fixed #16678 -- Wrote tests for contrib.redirects app

Thanks Julien Phalip for the report.

comment:5 Changed 2 years ago by Claude Paroz <claude@…>

In a8c415f8447cafb58315aa9b6e7240d46991f445:

[1.5.x] Fixed #16678 -- Wrote tests for contrib.redirects app

Thanks Julien Phalip for the report.
Backport of d9213d09db from master.

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