Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinZZ committed Sep 28, 2023
1 parent c7a2a21 commit ddb3aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samtranslator/model/eventsources/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,9 @@ def _check_fifo_topic(
self,
topic_id: Optional[str],
template: Optional[Dict[str, Any]],
intrinsics_resolver: Optional[IntrinsicsResolver],
intrinsics_resolver: IntrinsicsResolver,
) -> bool:
if not topic_id or not template or not intrinsics_resolver:
if not topic_id or not template:
return False

resources = template.get("Resources", {})
Expand Down

0 comments on commit ddb3aa6

Please sign in to comment.