'Override and parametrize default config fixture for all series tests.'

@pytest.fixture(params=[u'internal', u'guessit'], ids=[u'internal', u'guessit'])
def config(self, request, tmpdir):

    for test_dir in self.test_dirs:
        tmpdir.mkdir(test_dir)
    for test_file in self.test_files:
        tmpdir.join(test_file).write(u'')
    return Template(self._config).render({u'parser': request.param}).replace(u'__tmp__', tmpdir.strpath)
