Gap: Missing test coverage for project_commands.py and auth_commands.py #11
Labels
No labels
blocked:gate-research
bug
feature-request
in-progress
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/vikunja-cli#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Low
The test suite covers
task_commands.py,config_manager.py, andapi_client.py, but there are no tests for:project_commands.py(all handlers)auth_commands.py(login, configure, show handlers)help_commands.pyFiles missing tests:
tests/test_project_commands.py(does not exist)tests/test_auth_commands.py(does not exist)These command handlers contain display logic, error handling, and config interactions that should be tested. The mocking patterns already established in
test_task_commands.py(usingMockArgs,@patch,capsys) can be reused.Recommended test coverage:
test_project_commands.py: list/create/get/update/delete, views, buckets, users, teams, webhooks, sharestest_auth_commands.py: login (success/failure), configure, show_config with token masking