From 5bdaf3885c5c2d707dc00f7e4cbac7d792abf7e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Mon, 24 Jun 2024 13:25:35 +0200 Subject: [PATCH] testutils/pytest: fix format string and hint to connect once manually --- testutils/pytest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testutils/pytest.py b/testutils/pytest.py index 91eed00..23b7da9 100644 --- a/testutils/pytest.py +++ b/testutils/pytest.py @@ -85,8 +85,9 @@ def check_credentials(run_local): elif not run_local and not check_ssh(): iotlab_creds_mark = pytest.mark.skip( reason="Can't access IoT-LAB front-end " - "{DEFAULT_SITE}.{IOTLAB_DOMAIN} via SSH. Use key without " - "password or `ssh-agent`" + f"{DEFAULT_SITE}.{IOTLAB_DOMAIN} via SSH. Use key without " + "password or `ssh-agent` and connect once manually " + "to accept the fingerprint" ) return iotlab_creds_mark