Opened 15 years ago
Closed 14 years ago
#15838 closed New feature (fixed)
assertFieldOutput should be integrated to the general test framework
| Reported by: | Julien Phalip | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | yes |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
assertFieldOutput is currently defined in source:django/trunk/tests/regressiontests/forms/localflavor/utils.py
This useful method is not localflavor-specific and it deserves to be integrated to the django.utils.unittest.TestCase class so that it can be used in other contexts.
By the way, I've also reported a bug with assertFieldOutput in #15805, and the patch attached to it contains tests for assertFieldOutput itself.
Attachments (1)
Change History (5)
comment:1 by , 15 years ago
| Easy pickings: | unset |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
| Version: | 1.2 → 1.3 |
comment:2 by , 14 years ago
| Has patch: | set |
|---|---|
| UI/UX: | unset |
by , 14 years ago
| Attachment: | 15838.1.2.diff added |
|---|
comment:3 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
Awesome! Probably worth mentioning in the release notes too.