Consistently calculate the current file's directory

This commit is contained in:
Adam Turner
2024-11-03 17:26:17 +00:00
parent a6559d496b
commit 801c60a873
8 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ if TYPE_CHECKING:
# Generated with:
# $ openssl req -new -x509 -days 3650 -nodes -out cert.pem \
# -keyout cert.pem -addext "subjectAltName = DNS:localhost"
TESTS_ROOT: Final[Path] = Path(__file__).parent
TESTS_ROOT: Final[Path] = Path(__file__).resolve().parent
CERT_FILE: Final[str] = str(TESTS_ROOT / 'certs' / 'cert.pem')