File: conftest.py

package info (click to toggle)
sphinxcontrib-jsmath 1.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 600 kB
  • sloc: python: 182; makefile: 50; sh: 8
file content (18 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
    pytest config for sphinx extensions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""

import pytest

from sphinx.testing.path import path

pytest_plugins = 'sphinx.testing.fixtures'


@pytest.fixture(scope='session')
def rootdir():
    return path(__file__).parent.abspath() / 'roots'