def pam_auth():

    def pam_auth_aux(username, password):
        return authenticate(username, password)

    return pam_auth_aux
This will test the rating total
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/login_methods/pam_auth.py/pam_auth--crossover with--dataset/ETHPy150Open callowayproject/django-critic/critic/tests.py/CriticTestCase.test_total