Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#13495 closed (fixed)

Refactoring of localflavor regression tests

Reported by: Felipe 'chronos' Prenholato Owned by: nobody
Component: Testing framework Version: dev
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: no UI/UX: no

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 14 years ago.
Refactoring of localflavor tests. Maybe is better check structure here: http://1l.to/g1e

Download all attachments as: .zip

Change History (5)

by Felipe 'chronos' Prenholato, 14 years ago

Attachment: ticket13495.patch added

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

comment:1 by Russell Keith-Magee, 14 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Russell Keith-Magee, 14 years ago

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 by Russell Keith-Magee, 14 years ago

(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 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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