mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
updated tests
This commit is contained in:
parent
13b4cd78ad
commit
f62dc3b44f
5 changed files with 25 additions and 123 deletions
|
@ -253,7 +253,7 @@ def ensure_gpg_key_present(headers, name, armored_public_key, check_mode):
|
|||
new_key = json.loads(response.json())
|
||||
if check_mode and new_key:
|
||||
response = open_url(
|
||||
url=GITHUB_GPG_REST_API_URL + '/' + new_key['key_id'],
|
||||
url=GITHUB_GPG_REST_API_URL + '/' + new_key['id'],
|
||||
method='DELETE',
|
||||
headers=headers
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue