def METHOD_NAME(self):
    """
    verify that no inactive policy is evaluated
    the test is using the otppin=1 policy, which is checked to active
    in the first place. After the first check, the policy is disabled
    and the former authenication test will fail but the authentication
    without policy will work again.
    """
    user = "passthru_user1"
    pw_pass = "geheim1"
    pw_otp = "Test123"
    pw_pin = "123!"
    params = {
        "serial": "KIPW_007",
        "type": "pw",
        "otpkey": pw_otp,
        "pin": pw_pin,
        "user": user,
        "description": "myTest123",
    }
    response = self.make_admin_request("init", params=params)
    jresp = json.loads(response.body)
    serial = jresp.get("detail", {}.get("serial"))
    assert serial is not None, response
    # ----------------------------------------------------------------- --
    # run a simple validate check test without otppin policy
    params = {"user": user, "pass": pw_pin + pw_otp}
    response = self.make_validate_request("check", params=params)
    jresp = json.loads(response.body)
    value = jresp.get("result", {}).get("value")
    assert value, response
    # ----------------------------------------------------------------- --
    # we use the otppin policy
    policy = {
        "name": "inactive_policy",
        "active": True,
        "scope": "authentication",
        "realm": "*",
        "client": "*",
        "user": "*",
        "action": "otppin=1",
    }
    response = self.make_system_request("setPolicy", policy)
    jresp = json.loads(response.body)
    p_loaded = (
        jresp.get("result", {})
        .get("value", {})
        .get("setPolicy %s" % policy.get("name"))
    )
    assert p_loaded is not None, response
    # ----------------------------------------------------------------- --
    # run a validate check test with otppin=1 parameters
    params = {"user": user, "pass": pw_pass + pw_otp}
    response = self.make_validate_request("check", params=params)
    jresp = json.loads(response.body)
    value = jresp.get("result", {}).get("value")
    assert value, response
    # ----------------------------------------------------------------- --
    # now disable the otppin policy
    policy = {
        "name": "inactive_policy",
        "active": False,
        "scope": "authentication",
        "realm": "*",
        "client": "*",
        "user": "*",
        "action": "otppin=1",
    }
    response = self.make_system_request("setPolicy", policy)
    jresp = json.loads(response.body)
    p_loaded = (
        jresp.get("result", {})
        .get("value", {})
        .get("setPolicy %s" % policy.get("name"))
    )
    assert p_loaded is not None, response
    # ----------------------------------------------------------------- --
    # run a validate check test with otppin=1 parameters again
    # which now will fail
    params = {"user": user, "pass": pw_pass + pw_otp}
    response = self.make_validate_request("check", params=params)
    jresp = json.loads(response.body)
    value = jresp.get("result", {}).get("value")
    assert not value, response
    # ----------------------------------------------------------------- --
    # run a simple validate check test without otppin policy again
    params = {"user": user, "pass": pw_pin + pw_otp}
    response = self.make_validate_request("check", params=params)
    jresp = json.loads(response.body)
    value = jresp.get("result", {}).get("value")
    assert value, response
    return