def get_test_func(self):
        return self.test_func
Override this method to use a different test_func method.
dataset/ETHPy150Open django/django/django/contrib/auth/mixins.py/UserPassesTestMixin.get_test_func