From 52e72cce435910ca54831dcd4f3964b8be76ccfe Mon Sep 17 00:00:00 2001 From: Adam Wilson Date: Tue, 19 Aug 2025 16:17:02 -0600 Subject: [PATCH] troubleshoot --- tests/conftest.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index c455a577b..b9305e57e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -71,12 +71,12 @@ def pytest_deselected(items): def setup_test_environment(): """Setup run before every test automatically.""" - if "HF_TOKEN" in os.environ: - hf_token = os.environ.get("HF_TOKEN", "").strip() - if not hf_token: - raise ValueError("conftest.py: HF_TOKEN environment variable is empty or not found") - else: - raise ValueError("conftest.py: HF_TOKEN environment variable not found") + # if "HF_TOKEN" in os.environ: + # hf_token = os.environ.get("HF_TOKEN", "").strip() + # if not hf_token: + # raise ValueError("conftest.py: HF_TOKEN environment variable is empty or not found") + # else: + # raise ValueError("conftest.py: HF_TOKEN environment variable not found") # Set test environment variables os.environ["TESTING"] = "true"