def METHOD_NAME(self):
    self.test_username = "0123456789abcdefghijklmnopqrstuvwxyz"
    self.test_user = UserModel.objects.create_user("0123456789abcdefghijklmnopqrstuvwxyz", "test@example.com", "123456")
    self.dev_user = UserModel.objects.create_user("dev_user", "dev@example.com", "123456")
    self.application = Application.objects.create(
        name="Test Application",
        redirect_uris="http://localhost http://example.com http://example.org",
        user=self.dev_user,
        client_type=Application.CLIENT_CONFIDENTIAL,
        authorization_grant_type=Application.GRANT_AUTHORIZATION_CODE,
    )