def METHOD_NAME(self):
    """
    init two tokens in two realms
    """
    self.createHOtpToken("SHA1", "oath_mydef")
    # Your OTP with number 2 is 359152.
    # Your OTP with number 3 is 969429.
    # Your OTP with number 4 is 338314.
    # Your OTP with number 5 is 254676.
    # Your OTP with number 6 is 287922.
    self.createHOtpToken("SHA256", "oath_myrealm")
    # Your OTP with number 2 is 072768.
    # Your OTP with number 3 is 797306.
    # Your OTP with number 4 is 038285.
    # Your OTP with number 5 is 143665.
    # create resolvers - this is a legacy interface
    # but as this is still used in the web gui, we leave this here
    parameters = {
        "passwdresolver.fileName.mdef": os.path.join(
            self.fixture_path, "def-passwd"
        ),
        "passwdresolver.fileName.mrealm": os.path.join(
            self.fixture_path, "def-passwd"
        ),
    }
    resp = self.make_system_request("setConfig", params=parameters)
    assert '"status": true' in resp, resp
    # create realms
    parameters = {
        "realm": "mydef",
        "resolvers": "useridresolver.PasswdIdResolver.IdResolver.mdef",
    }
    resp = self.make_system_request("setRealm", params=parameters)
    assert '"status": true' in resp, resp
    # legacy syntax for resolver reference
    parameters = {
        "realm": "myrealm",
        "resolvers": "useridresolver.passwdresolver.mrealm",
    }
    resp = self.make_system_request("setRealm", params=parameters)
    assert '"status": true' in resp, resp
    resp = self.setTokenRealm("oath_mydef", "mydef")
    assert '"status": true' in resp, resp
    resp = self.setTokenRealm("oath_myrealm", "myrealm")
    assert '"status": true' in resp, resp