def setUp(self):
        self.user = User.objects.create_superuser(
            username=VALID_USERNAME,
            email='test@example.com',
            password=VALID_PASSWORD,
        )
Create a valid user for login
dataset/ETHPy150Open kencochrane/django-defender/defender/tests.py/AccessAttemptTest.setUp