File: conftest.py

package info (click to toggle)
sphinxcontrib-serializinghtml 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 584 kB
  • sloc: python: 157; makefile: 7; sh: 7
file content (14 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from __future__ import annotations

from pathlib import Path

import pytest

pytest_plugins = (
    'sphinx.testing.fixtures',
)


@pytest.fixture(scope='session')
def rootdir() -> Path:
    return Path(__file__).resolve().parent / 'roots'