1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 13:19:13 +00:00

only print secrets, adapt tests

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2026-03-14 14:24:22 +00:00
parent 08e03f0525
commit 5aea5f4a46
No known key found for this signature in database
2 changed files with 10 additions and 12 deletions

View file

@ -75,7 +75,7 @@ def test_list_repo_secrets(fetch_url_mock):
result = exc.value.args[0]
assert result["changed"] is False
assert result["result"]["secrets"] == GITHUB_SECRETS_RESPONSE["secrets"]
assert result["secrets"] == GITHUB_SECRETS_RESPONSE["secrets"]
def test_fail_list_repo_secrets(fetch_url_mock):
@ -95,4 +95,4 @@ def test_fail_list_repo_secrets(fetch_url_mock):
result = exc.value.args[0]
assert result["changed"] is False
assert result["result"]["secrets"] == []
assert result["secrets"] == []