Skip to content

Commit ea52922

Browse files
Apply suggestions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 9206bca commit ea52922

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/pytest/_cli_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ def populate_argument_parser(
8989
return None
9090

9191
def invoke_cli_app(self, parsed_cli_args: Namespace) -> ReturnCodeType:
92-
msg = 'sentinel'
93-
raise PreCommitTerraformExit(msg)
92+
raise PreCommitTerraformExit(self.CLI_SUBCOMMAND_NAME)
9493

9594
monkeypatch.setattr(
9695
_cli_parsing_mod,

0 commit comments

Comments
 (0)