Skip to content

Commit 0ba22ee

Browse files
style(tests): fix E501 line-too-long in test_cli.py assertion (ruff lint)
1 parent 9e8fb6f commit 0ba22ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def test_install_all_uses_all_extra(self, mock_run):
5858
call_args = mock_run.call_args[0][0] # positional arg: the command list
5959
# Must contain the git+ URL with [all] extra, not a comma-joined list
6060
pkg_arg = next((a for a in call_args if "devforge-cli.git[" in a), None)
61-
assert pkg_arg == "git+https://github.com/Coding-Dev-Tools/devforge-cli.git[all]", f"Expected git+...devforge-cli.git[all], got {pkg_arg}"
61+
expected = "git+https://github.com/Coding-Dev-Tools/devforge-cli.git[all]"
62+
assert pkg_arg == expected, f"Expected {expected}, got {pkg_arg}"
6263

6364
def test_install_unknown_tool(self):
6465
"""Error on unknown tool name."""

0 commit comments

Comments
 (0)