fixed(tests): mode_gating
Some checks failed
CI / Lint (ruff) (push) Successful in 12s
CI / SAST (bandit) (push) Successful in 15s
CI / Dependency audit (pip-audit) (push) Successful in 23s
CI / Test (Standard) (3.11) (push) Failing after 5m0s
CI / Test (Live) (3.11) (push) Has been cancelled
CI / Test (Fuzz) (3.11) (push) Has been cancelled
CI / Merge dev → testing (push) Has been cancelled
CI / Prepare Merge to Main (push) Has been cancelled
CI / Finalize Merge to Main (push) Has been cancelled
CI / Test (Standard) (3.12) (push) Has been cancelled

This commit is contained in:
2026-04-20 02:18:11 -04:00
parent ff3e376726
commit dd82cd3f39

View File

@@ -5,12 +5,14 @@ import os
import pathlib import pathlib
import subprocess import subprocess
import sys import sys
from pathlib import Path
import pytest import pytest
REPO = pathlib.Path(__file__).resolve().parent.parent REPO = pathlib.Path(__file__).resolve().parent.parent
DECNET_BIN = REPO / ".venv" / "bin" / "decnet" #DECNET_BIN = REPO / ".venv" / "bin" / "decnet"
DECNET_BIN = Path(sys.executable).parent / "decnet"
def _clean_env(**overrides: str) -> dict[str, str]: def _clean_env(**overrides: str) -> dict[str, str]: