File: utils.py

package info (click to toggle)
pywavefront 1.3.3-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,112 kB
  • sloc: python: 1,586; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
from pathlib import Path

FIXTURE_PATH = Path(__file__).parent.absolute() / 'fixtures'


def fixture(name: str):
    """
    Construct an absolute path to the fixture directory
    """
    return Path(FIXTURE_PATH, name)