depot/third_party/nixpkgs/pkgs/applications/science/engineering/strictdoc/conftest.py.patch
Default email c6ca5b8f13 Project import generated by Copybara.
GitOrigin-RevId: e4d49de45a3b5dbcb881656b4e3986e666141ea9
2022-07-18 18:21:45 +02:00

15 lines
435 B
Diff

diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py
index 932747c..9b3d6ac 100644
--- a/tests/unit/conftest.py
+++ b/tests/unit/conftest.py
@@ -1,9 +1,7 @@
import os
import sys
-STRICTDOC_ROOT_PATH = os.path.abspath(
- os.path.join(__file__, "../../../../strictdoc")
-)
+STRICTDOC_ROOT_PATH = "@strictdoc_root_path@"
assert os.path.exists(STRICTDOC_ROOT_PATH), "does not exist: {}".format(
STRICTDOC_ROOT_PATH
)