Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#13495 closed (fixed)

Refactoring of localflavor regression tests

Reported by: Felipe 'chronos' Prenholato Owned by: nobody
Component: Testing framework Version: master
Severity: Keywords: localflavor, unittests, refactoring, country, countries, locations, location
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

After put #13473 working, I'll write unit tests, but tests/regressiontests/localflavor/ isn't prepared to receive more countries. I re-factored localflavor tests to support add more countries, and renamed localflavor directory to localflavor_regress (as Russ suggested in #django-dev some days ago) to avoid any chance of conflict with django.contrib.localflavor.

Patch are attached.

Attachments (1)

ticket13495.patch (10.7 KB) - added by Felipe 'chronos' Prenholato 7 years ago.
Refactoring of localflavor tests. Maybe is better check structure here: http://1l.to/g1e

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Felipe 'chronos' Prenholato

Attachment: ticket13495.patch added

Refactoring of localflavor tests. Maybe is better check structure here: http://1l.to/g1e

comment:1 Changed 7 years ago by Russell Keith-Magee

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [13505]) Fixed #13495 -- Refactored the localflavor test directory to provide the placeholder structure for other flavors. Thanks to chronos for the report and patch.

comment:3 Changed 6 years ago by Russell Keith-Magee

(In [13506]) [1.2.X] Fixed #13495 -- Refactored the localflavor test directory to provide the placeholder structure for other flavors. Thanks to chronos for the report and patch.

Backport of r13505 from trunk.

comment:4 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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