def METHOD_NAME(self):
    key = "0123456789abcdef"
    db_token = Token("motp002", tokentype="motp")
    db_token.save()
    token = MotpTokenClass(db_token)
    token.update({"otpkey": key,
                  "motppin": "6666",
                  "pin": "test"})
    self.assertTrue(token.token.tokentype == "motp", token.token.tokentype)
    self.assertTrue(token.type == "motp", token)
    class_prefix = token.get_class_prefix()
    self.assertTrue(class_prefix == "PIMO", class_prefix)
    self.assertTrue(token.get_class_type() == "motp", token)
    # Correct OTP value
    r = token.check_otp("6ed4e4", options={"initTime": 129612120})
    self.assertTrue(r == 129612120, r)
    # Check the same value again
    r = token.check_otp("6ed4e4", options={"initTime": 129612120})
    self.assertTrue(r == -1, r)