SimpleTestCase.assertInHTML(needle, haystack, count=None, msg_prefix='') [source] Asserts
setdefault()
Page.previous_page_number() [source] Returns the previous page number. Raises InvalidPage
SimpleTestCase.assertFieldOutput(fieldclass, valid, invalid, field_args=None, field_kwargs=None, empty_value='') [source]
templates A list of Template instances used to render the final content, in the order they were rendered. For each
client The test client that was used to make the request that resulted in the response.
logout(request) [source] To log out a user who has been logged in via django.contrib
TransactionTestCase.multi_db Django sets up a test database corresponding to every database that is defined in the DATABASES
destroy_test_db(old_database_name, verbosity=1, keepdb=False) Destroys the database whose name is the value of NAME
SimpleTestCase.assertHTMLEqual(html1, html2, msg=None) [source] Asserts that the strings
Page 30 of 35