Opened 17 years ago
Closed 17 years ago
#5496 closed (fixed)
It's needed a test directory for testing own django views (generic views, i18n views, etc.)
Reported by: | Manuel Saelices | Owned by: | Manuel Saelices |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I'd like to write testing for tickets like #3594, but there is no place for do testing own django views (located at /django/views/
).
It's needed to create a new directory in regressiontests
in which was configured:
- urls.py for testing
- test browser
Attachments (3)
Change History (9)
comment:1 by , 17 years ago
Status: | new → assigned |
---|
by , 17 years ago
Attachment: | django_views_tests.diff added |
---|
by , 17 years ago
Attachment: | django_views_tests_r6360.diff added |
---|
Completing tests with django.views.defaults views
by , 17 years ago
Attachment: | django_views_tests_r6360.2.diff added |
---|
Added views for django.views.static views
comment:5 by , 17 years ago
Ok, I don't work on create tests for generic views, only for basic views. I mean:
/django_src/django/views/ |defaults.py -> made on this ticket |static.py -> made on this ticket |i18n.py -> made on this ticket |--/generic/ -> made on ticket #5506
any suggestion? maybe merging two tickets?
comment:6 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Several tests in a new directory for testing django views