Skip to content

Commit 9644b29

Browse files
committed
updated test per ruff check
1 parent 65e4ffa commit 9644b29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/cli/commands/import/test_import_sbom.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ def test_sbom_command_file_not_exists(self, mocker: 'MockerFixture') -> None:
162162
result = CliRunner().invoke(app, args, env=CLI_ENV_VARS)
163163

164164
assert result.exit_code != 0
165-
assert "Invalid value for 'PATH': File " in result.output and 'not exist' in result.output
165+
assert "Invalid value for 'PATH': File " in result.output
166+
assert 'not exist' in result.output
166167

167168
def test_sbom_command_file_is_directory(self, mocker: 'MockerFixture') -> None:
168169
with tempfile.TemporaryDirectory() as temp_dir:

0 commit comments

Comments
 (0)