mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 13:19:13 +00:00
clean tests
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
387cc59ea0
commit
a1ce9683f2
1 changed files with 0 additions and 3 deletions
|
|
@ -75,7 +75,6 @@ def test_list_repo_secrets(fetch_url_mock):
|
|||
|
||||
result = exc.value.args[0]
|
||||
assert result["changed"] is False
|
||||
assert result["result"]["info"] == 200
|
||||
assert result["result"]["secrets"] == GITHUB_SECRETS_RESPONSE["secrets"]
|
||||
|
||||
|
||||
|
|
@ -96,6 +95,4 @@ def test_fail_list_repo_secrets(fetch_url_mock):
|
|||
|
||||
result = exc.value.args[0]
|
||||
assert result["changed"] is False
|
||||
assert result["result"]["info"] == 404
|
||||
assert result["result"]["secrets"] == []
|
||||
assert result["result"]["response"] == "No secrets found"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue