aboutsummaryrefslogtreecommitdiff
path: root/test_utils
diff options
context:
space:
mode:
Diffstat (limited to 'test_utils')
-rw-r--r--test_utils/conftest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_utils/conftest.py b/test_utils/conftest.py
index fcff1b0..256166d 100644
--- a/test_utils/conftest.py
+++ b/test_utils/conftest.py
@@ -172,6 +172,7 @@ def git_key_path(
# We are using the tmp_path_factory because unlike the tmp_path (which
# is function scoped), this is session scoped.
+ print("GIT CREDS", settings.git_creds)
assert settings.git_creds, "Must define key to download alternative models"
fn = tmp_path_factory.mktemp("keys") / "git_creds"
fn.write_text(settings.git_creds, encoding="utf-8")
@@ -208,6 +209,7 @@ def gr_repo(
"-o StrictHostKeyChecking=no "
)
env = {"GIT_SSH_COMMAND": ssh_cmd}
+ print("SSH ENV", env)
if repo_path.exists():
subprocess.run(["git", "-C", str(repo_path), "pull"], check=True, env=env)