File: conftest.py

package info (click to toggle)
tmuxp 1.64.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,500 kB
  • sloc: python: 17,788; sh: 22; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
"""Fixtures and configuration for docs extension tests."""

from __future__ import annotations

import pathlib
import sys

# Add docs/_ext to path so we can import the extension module
docs_ext_path = pathlib.Path(__file__).parent.parent.parent.parent / "docs" / "_ext"
if str(docs_ext_path) not in sys.path:
    sys.path.insert(0, str(docs_ext_path))