Skip to content

Commit

Permalink
Add some more no cov
Browse files Browse the repository at this point in the history
  • Loading branch information
TOUFIKIzakarya committed Nov 5, 2024
1 parent a0ce86f commit f28ffe7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def post_closure_comment(
close_reason: Optional[str],
close_notes: Optional[str],
username: Optional[str],
):
): # pragma: no cover
try:
execute_command(
"sekoia-xdr-post-comment-alert",
Expand Down Expand Up @@ -94,7 +94,7 @@ def close_alert(
)


def main():
def main(): # pragma: no cover
incident = demisto.incidents()[0] # type: ignore
mirror_direction = incident.get("dbotMirrorDirection")
is_mirror_out = incident.get("CustomFields", {}).get("sekoiaxdrmirrorout")
Expand Down

0 comments on commit f28ffe7

Please sign in to comment.