import pytest


@pytest.fixture(scope='session', autouse=True)
def init_config():
	__import__('pmxbot').config = {}


@pytest.fixture(params=['mongodb', 'sqlite'])
def db_uri(request):
	if request.param == 'mongodb':
		return request.getfuncargvalue('mongodb_uri')
	return 'sqlite:pmxbot.sqlite'

import pytest


@pytest.fixture(scope='session', autouse=True)
def init_config():
	__import__('pmxbot').config = {}


@pytest.fixture(params=['mongodb', 'sqlite'])
def db_uri(request):
	if request.param == 'mongodb':
		return request.getfixturevalue('mongodb_uri')
	return 'sqlite:pmxbot.sqlite'

Fix deprecation warning in fixture retrieval.
Fix deprecation warning in fixture retrieval.
