<reponame>rohe/oictest
#!/usr/bin/env python
import logging

__author__ = 'rohe0002'

from oictest import OIC
from oictest import oic_operations
from oictest.base import Conversation
from oictest.check import factory as check_factory

from oic.oic import Client
from oic.oic.consumer import Consumer
from oic.oic.message import factory as message_factory

LOGGER = logging.getLogger("oic")
LOGFILE_NAME = 'oictest.log'

hdlr = logging.FileHandler(LOGFILE_NAME)

base_formatter = logging.Formatter(
    "%(asctime)s %(name)s:%(levelname)s %(message)s")

hdlr.setFormatter(base_formatter)
LOGGER.addHandler(hdlr)
LOGGER.setLevel(logging.DEBUG)

cli = OIC(oic_operations, Client, Consumer, message_factory, check_factory,
          Conversation)

cli.run()

#!/usr/bin/env python
import logging

__author__ = 'rohe0002'

from oictest import OIC
from oictest import oic_operations
from oictest.base import Conversation
from oictest.check import factory as check_factory

from oic.oic import Client
from oic.oic.consumer import Consumer
from oic.oic.message import factory as message_factory

LOGGER = logging.getLogger("oic")
LOGFILE_NAME = 'oictest.log'

hdlr = logging.FileHandler(LOGFILE_NAME)

base_formatter = logging.Formatter(
    "%(asctime)s %(name)s:%(levelname)s %(message)s")

hdlr.setFormatter(base_formatter)
LOGGER.addHandler(hdlr)
LOGGER.setLevel(logging.DEBUG)

cli = OIC(oic_operations, Client, Consumer, message_factory, check_factory,
          Conversation)

cli.run()
#!/usr/bin/env python