File: conftest.py

package info (click to toggle)
daps 3.3.2%2Bcleaned1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,536 kB
  • sloc: xml: 9,773; sh: 3,059; python: 1,322; lisp: 380; makefile: 239
file content (20 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import pytest
import py
import gen

ROOTDIR = py.path.local(__file__).parts()[-3]
TESTDIR = ROOTDIR / "tests"
DATADIR = TESTDIR / "data"
BINDIR = ROOTDIR / "bin"
SCRIPT = BINDIR / "getentityname.py"


@pytest.fixture(autouse=True)
def add_semver(doctest_namespace):
    # doctest_namespace["gen"] = getentityname
    pass

@pytest.fixture
def doctype():
    doctype, _ = gen.dtdmatcher()
    return doctype