has_module_perms(package_name) Returns True if the user has any permissions in the given package (the Django app
SimpleTestCase.assertRaisesMessage(expected_exception, expected_message, callable, *args, **kwargs) [source] SimpleTestCase
class TestCase [source] This is the most common class to use for writing tests in Django
class models.AbstractBaseUser get_username() Returns the value of the field
Model._default_manager If you use custom Manager objects, take note that the first Manager Django
class base_session.BaseSessionManager New in Django 1.9.
DiscoverRunner.test_runner This is the class of the low-level test runner which is used to execute the individual tests and
To define a many-to-one relationship, use
Signal.send(sender, **kwargs) [source]
DiscoverRunner.setup_databases(**kwargs) Creates the test databases. Returns a data structure
Page 6 of 35