sphinx/tests/conftest.py

21 lines
443 B
Python
Raw Normal View History

2017-01-03 07:24:00 -06:00
# -*- coding: utf-8 -*-
"""
pytest config for sphinx/tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
2017-01-03 07:24:00 -06:00
import os
import pytest
from sphinx.testing.path import path
2017-01-03 07:24:00 -06:00
pytest_plugins = 'sphinx.testing.fixtures'
2017-01-03 07:24:00 -06:00
@pytest.fixture(scope='session')
def rootdir():
return path(os.path.dirname(__file__) or '.').abspath() / 'roots'