From 5bbc4ca026c79eac4c40fb2d0f0a03c8d91404fa Mon Sep 17 00:00:00 2001 From: Daisie Huang Date: Wed, 2 Oct 2024 11:33:26 -0700 Subject: [PATCH] Update test_uniform_federation.py --- tests/test_uniform_federation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_uniform_federation.py b/tests/test_uniform_federation.py index 33da554..22c36d7 100644 --- a/tests/test_uniform_federation.py +++ b/tests/test_uniform_federation.py @@ -40,6 +40,8 @@ def services(requests_mock): @pytest.fixture() def two_servers(requests_mock): + with open(os.path.abspath("/run/secrets/vault-approle-token")) as f: + print(f"hello {f.read()}") with open(os.path.abspath("tests/test_data/two_servers.json")) as f: servers = {"servers": json.load(f)} requests_mock.get(f"{VAULT_URL}/v1/federation/servers", json={"data": servers}, status_code=200)