The congress.tests.api.base Module

congress.tests.api.base.setup_config(with_fake_datasource=True, node_id='testnode', same_partition_as_node=None, api=True, policy=True, datasources=True)

Setup DseNode for testing.

:param services is an array of DataServices :param api is a dictionary mapping api name to API model instance