Skip to content

Commit 2fd6730

Browse files
Update tests/cli/commands/scan/test_scan_command.py
Co-authored-by: omerr-cycode <omer.roth@cycode.com>
1 parent e182d4b commit 2fd6730

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cli/commands/scan/test_scan_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _invoke_result_callback(ctx: click.Context) -> int:
3030
class TestScanCommand:
3131
def test_multiple_scan_types_rejected(self) -> None:
3232
result = CliRunner().invoke(app, ['scan', '-t', 'iac', '-t', 'sast', 'path', '.'])
33-
assert result.exit_code == 2
33+
assert result.exit_code == 1
3434
assert '-t/--scan-type' in result.output
3535
assert 'iac' in result.output
3636
assert 'sast' in result.output

0 commit comments

Comments
 (0)