updated tests

This commit is contained in:
Austin Lucas Lake 2025-03-15 12:51:01 -07:00
parent 13b4cd78ad
commit f62dc3b44f
No known key found for this signature in database
GPG key ID: 6A37FA54CFCFA4DB
5 changed files with 25 additions and 123 deletions

View file

@ -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
)