Skip to content

Commit

Permalink
fixup! add vault_pki module tests
Browse files Browse the repository at this point in the history
  • Loading branch information
voyvodov committed May 13, 2024
1 parent bf36890 commit bf3eebe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/functional/modules/test_vault_pki.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ def test_update_role(vault_pki):
@pytest.mark.usefixtures("issuers_setup")
def test_list_issuers(vault_pki):
ret = [info["issuer_name"] for id, info in vault_pki.list_issuers().items()]
diff = set(ret) ^ {"test-issuer-root", "testissuer"}

assert not diff
assert set(ret) == {"test-issuer-root", "testissuer"}


@pytest.mark.usefixtures("issuers_setup")
Expand Down

0 comments on commit bf3eebe

Please sign in to comment.