test.runner.DiscoverRunner.test_loader
  • References/Python/Django/Guides

DiscoverRunner.test_loader This is the class that loads tests, whether from TestCases or modules or otherwise and bundles them

2025-01-10 15:47:30
auth.views.password_reset()
  • References/Python/Django/Guides

password_reset(request, template_name='registration/password_reset_form.html', email_template_name='registration/password_reset_email.html', subject_template_name='r

2025-01-10 15:47:30
test.runner.DiscoverRunner
  • References/Python/Django/Guides

class DiscoverRunner(pattern='test*.py', top_level=None, verbosity=1, interactive=True, failfast=False, keepdb=False, reverse=False, debug_sql=False, **kwargs)

2025-01-10 15:47:30
auth.models.AbstractBaseUser.set_password()
  • References/Python/Django/Guides

set_password(raw_password) Sets the user’s password to the given raw string, taking care of the password hashing. Doesn’t save

2025-01-10 15:47:30
test.SimpleTestCase.assertTemplateUsed()
  • References/Python/Django/Guides

SimpleTestCase.assertTemplateUsed(response, template_name, msg_prefix='', count=None) [source] Asserts

2025-01-10 15:47:30
sessions.backends.base.SessionBase.keys()
  • References/Python/Django/Guides

keys()

2025-01-10 15:47:30
test.SimpleTestCase.assertNotContains()
  • References/Python/Django/Guides

SimpleTestCase.assertNotContains(response, text, status_code=200, msg_prefix='', html=False) [source]

2025-01-10 15:47:30
sessions.backends.base.SessionBase.clear_expired()
  • References/Python/Django/Guides

clear_expired() Removes expired sessions from the session store. This class method is called by clearsessions.

2025-01-10 15:47:30
test.TransactionTestCase
  • References/Python/Django/Guides

class TransactionTestCase [source] TransactionTestCase inherits from

2025-01-10 15:47:30
test.TransactionTestCase.assertNumQueries()
  • References/Python/Django/Guides

TransactionTestCase.assertNumQueries(num, func, *args, **kwargs) [source] Asserts that when

2025-01-10 15:47:30