Skip to content

Commit 2c604fb

Browse files
yashhzdamilcarlucas
authored andcommitted
style: wrap long test line to fix pylint line-too-long
Signed-off-by: Yash Goel <yashhzd@users.noreply.github.com>
1 parent 2c5d4ee commit 2c604fb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_backend_filesystem.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,9 @@ def test_download_rejects_absolute_path(self, tmp_path) -> None:
10531053
str(tmp_path), "vehicle_type", None, allow_editing_template_files=False, save_component_to_system_templates=False
10541054
)
10551055
lfs.configuration_steps = {
1056-
"test.param": {"download_file": {"source_url": "https://example.com/payload", "dest_local": "/tmp/evil"}} # noqa: S108
1056+
"test.param": {
1057+
"download_file": {"source_url": "https://example.com/payload", "dest_local": "/tmp/evil"}, # noqa: S108
1058+
}
10571059
}
10581060

10591061
with pytest.raises(ValueError, match="Path escapes vehicle directory"):

0 commit comments

Comments
 (0)