Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#18240 closed Bug (fixed)

admindocs tests fail when LANGUAGE_CODE isn't 'en-*'

Reported by: miguel.ventura@… Owned by: claudep
Component: contrib.admindocs Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Set project's LANGUAGE_CODE setting to 'pt-pt' and tests will fail because they're comparing translated results with hardcoded English results.

Attachments (1)

admindocs-test.patch (1.4 KB) - added by miguel.ventura@… 3 years ago.
patch for contrib/admindocs/tests/init.py

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by miguel.ventura@…

patch for contrib/admindocs/tests/init.py

comment:1 Changed 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to claudep
  • Patch needs improvement unset
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by claudep

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

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

In 58cc3e8484c4fb7db787ec2c21d8aeac3d131f3e:

Fixed #19157 -- Removed test-only string from translatable strings

Thanks Alexey Boriskin for the report. Refs #18240.

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