#16028: Consolidate default template filters' tests
-------------------------------------+-------------------------------------
Reporter: julien | Owner: julien
Type: | Status: new
Cleanup/optimization | Component: Testing framework
Milestone: | Severity: Normal
Version: 1.3 | Keywords:
Resolution: | Has patch: 0
Triage Stage: Accepted | Needs tests: 0
Needs documentation: 0 | Easy pickings: 1
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Comment (by julien):
I have posted a work in progress (about 1/3rd of the way there) but before
I go any further I'd like to get some feedback on one particular concern I
have. I'm porting the tests from the `defaultfilters` module to match the
majority of other tests in the `templates.filters` module. However, this
way of testing tests the results as strings. For example, even though the
`wordcount` filter returns integers, the tests check results like `u'3'`.
Is that a real issue? Should I keep going this way or is that a bad idea?
--
Ticket URL: <https://code.djangoproject.com/ticket/16028#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.