mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Add testcases for github_issue (#26309)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
Chris Alfonso
parent
c9b74a3af3
commit
a2c8481395
@@ -103,7 +103,7 @@ def main():
|
||||
result = dict()
|
||||
|
||||
gh_obj = github3.issue(organization, repo, issue)
|
||||
if isinstance(gh_obj, github3.null.NullObject):
|
||||
if gh_obj is None:
|
||||
module.fail_json(msg="Failed to get details about issue specified. "
|
||||
"Please check organization, repo and issue "
|
||||
"details and try again.")
|
||||
|
||||
Reference in New Issue
Block a user