SimpleTestCase.assertNotContains(response, text, status_code=200, msg_prefix='', html=False) [source]
django.core.serializers.get_serializer(format) You can also use a serializer object directly:
Automated testing is an extremely useful bug-killing tool for the modern Web developer. You can use a collection of tests – a test suite – to solve, or avoid
TransactionTestCase.assertQuerysetEqual(qs, values, transform=repr, ordered=True, msg=None) [source]
A clean, elegant URL scheme is an important detail in a high-quality Web application. Django lets you design URLs however you want, with no framework limitations.
SimpleTestCase.assertXMLEqual(xml1, xml2, msg=None) [source] Asserts that the strings xml1
__contains__(key) Example: 'fav_color' in request.session
is_authenticated Read-only attribute which is always True (as opposed to AnonymousUser.is_authenticated
session_data A string containing an encoded and serialized session dictionary.
password_change_done(request, template_name='registration/password_change_done.html', current_app=None, extra_context=None) The
Page 26 of 35