def test_create_with_aud(self):
        sid = rndstr(32)
        session_info = SESSION_INFO

        _jwt = self.access_token(
            sid, sinfo=session_info, kid='sign1',
            aud=['https://example.com/rs'], lifetime=1200)

        assert _jwt

        info = self.access_token.get_info(_jwt)
        assert info['exp'] - info['iat'] == 1200
dataset/ETHPy150Open rohe/pyoidc/tests/test_token.py/TestToken2.test_create_with_aud/original