From 2447c6621fc8d7babb14ca3053c762feee67bef2 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Sun, 1 Aug 2021 12:24:07 +0200 Subject: [PATCH] Display URL in prometheus test --- test/pytest/test_prometheus.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/pytest/test_prometheus.py b/test/pytest/test_prometheus.py index b90bd59a9..70aec9253 100755 --- a/test/pytest/test_prometheus.py +++ b/test/pytest/test_prometheus.py @@ -74,6 +74,7 @@ def test_prometheus_alerts(host): domain = ansible_vars["domain"] print(f"Using domain {domain} from ansible inventory.") url = f'https://prometheus.{domain}/api/v1/alerts' + print(f'Querying {url}') basic_auth_pw = os.environ.get("BASIC_AUTH_PW") assert basic_auth_pw, 'Please export BASIC_AUTH_PW env var!' -- GitLab