-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Labels
devdays25enhancementImprovement to an existing featureImprovement to an existing featuregood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Describe the enhancement
Implement comprehensive tests for all job operation commands (pause, resume, terminate, retry, etc.) including error handling and confirmation prompts.
Version Number
Additional context
Create /cueman/tests/test_job_operations.py testing:
- Job pause/resume operations with already paused/running jobs
- Job termination with confirmation dialog
- Batch job operations (multiple jobs in one command)
- Auto-eat enable/disable functionality
- Maximum retries setting validation
- Job existence validation and error handling
- Force flag bypassing confirmations
- Proper logging output for each operation
Mock opencue.api.findJob() and job objects. Test with non-existent jobs and network errors.
Metadata
Metadata
Assignees
Labels
devdays25enhancementImprovement to an existing featureImprovement to an existing featuregood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed