1"""
2    pytest config for sphinx extensions
3    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
5    :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
6    :license: BSD, see LICENSE for details.
7"""
8
9import pytest
10
11from sphinx.testing.path import path
12
13pytest_plugins = 'sphinx.testing.fixtures'
14
15
16@pytest.fixture(scope='session')
17def rootdir():
18    return path(__file__).parent.abspath() / 'roots'
19