#11253: TestCase method docs should consistently use TestCase.methodName
---------------------------+------------------------------------------------
Reporter: SmileyChris | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 1 |
---------------------------+------------------------------------------------
Currently we have:
{{{
TestCase.assertContains(response, text, count=None, status_code=200)
TestCase.assertNotContains(response, text, status_code=200)
assertFormError(response, form, field, errors)
assertTemplateUsed(response, template_name)
assertTemplateNotUsed(response, template_name)
assertRedirects(response, expected_url, status_code=302,
target_status_code=200)
}}}
They're all `TestCase` methods so they should all be either with or
without the `TestCase.` prefix (I say with)
--
Ticket URL: <http://code.djangoproject.com/ticket/11253>
Django <http://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
-~----------~----~----~----~------~----~------~--~---