# Path: pymco/test/utils.py
# def get_template(name, package=__package__):
# def configfile(ctxt=None):
# 
# Path: pymco/test/utils.py
# def get_template(name, package=__package__):
# def configfile(ctxt=None):


import pytest
from pymco.test import ctxt
from pymco.test import utils
from pymco.test.utils import mock
    from pymco import config
    from pymco import message
    from pymco import message
    from pymco import message
'''Test configuration for the re-write unit tests'''



CONFIGSTR = '''
topicprefix = /topic/
collectives = mcollective,sub1,sub2
main_collective = mcollective
libdir = /path/to/plugins
logfile = /path/to/mcollective.log
loglevel = debug
daemonize = 0
identity = mco1

# Plugins
securityprovider = ssl
plugin.ssl_server_public = /path/to/server-public.pem
plugin.ssl_client_private = /path/to/client-private.pem
plugin.ssl_serializer = yaml
plugin.ssl_client_public = /path/to/client-public.pem

direct_addressing = yes
direct_addressing_threshold = 5

connector = activemq
plugin.activemq.pool.size = 2
plugin.activemq.pool.1.port = 6163
plugin.activemq.pool.1.host = localhost
plugin.activemq.pool.1.password = secret
plugin.activemq.pool.1.user = mcollective

# Path: pymco/test/utils.py
# def get_template(name, package=__package__):
# def configfile(ctxt=None):
# 
# Path: pymco/test/utils.py
# def get_template(name, package=__package__):
# def configfile(ctxt=None):


# Path: tests/unit/conftest.py
import pytest
from pymco.test import ctxt
from pymco.test import utils
from pymco.test.utils import mock
    from pymco import config
    from pymco import message
    from pymco import message
    from pymco import message

'''Test configuration for the re-write unit tests'''



CONFIGSTR = '''
topicprefix = /topic/
collectives = mcollective,sub1,sub2
main_collective = mcollective
libdir = /path/to/plugins
logfile = /path/to/mcollective.log
loglevel = debug
daemonize = 0
identity = mco1

# Plugins
securityprovider = ssl
plugin.ssl_server_public = /path/to/server-public.pem
plugin.ssl_client_private = /path/to/client-private.pem
plugin.ssl_serializer = yaml
plugin.ssl_client_public = /path/to/client-public.pem

direct_addressing = yes
direct_addressing_threshold = 5

connector = activemq
plugin.activemq.pool.size = 2
plugin.activemq.pool.1.port = 6163
plugin.activemq.pool.1.host = localhost
plugin.activemq.pool.1.password = secret
plugin.activemq.pool.1.user = mcollective

plugin.activemq.pool.1.ssl = true