Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mildaniel committed Jul 31, 2024
1 parent 903f30d commit 860409e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/commands/validate/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ def test_lint_template_passes(self, click_patch, lint_patch, read_sam_file_patch

do_cli(ctx=ctx_lint_mock(debug=False, region="region"), template=template_path, lint=True)

@patch("cfnlint.api.lint")
@patch("samcli.commands.validate.validate.click")
def test_lint_event_recorded(self, click_patch):
def test_lint_event_recorded(self, click_patch, lint_patch):
template_path = "path_to_template"
template_contents = "{}"

Expand Down

0 comments on commit 860409e

Please sign in to comment.