llama-stack-mirror/tests/unit/providers/nvidia
Jash Gulabrai 45e08ff417
fix: Handle case when Customizer Job status is unknown (#1965)
# What does this PR do?
This PR handles the case where a Customization Job's status is
`unknown`. Since we don't map `unknown` to a valid `JobStatus`, the
PostTraining provider throws an exception when fetching/listing a job.

[//]: # (If resolving an issue, uncomment and update the line below)
[//]: # (Closes #[issue-number])

## Test Plan
[Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.*]
`./scripts/unit-tests.sh
tests/unit/providers/nvidia/test_supervised_fine_tuning.py` succeeds

[//]: # (## Documentation)

Co-authored-by: Jash Gulabrai <jgulabrai@nvidia.com>
2025-04-17 10:27:07 +02:00
..
__init__.py feat: Add nemo customizer (#1448) 2025-03-25 11:01:10 -07:00
conftest.py chore: re-enable isort enforcement (#1802) 2025-03-26 15:22:17 -07:00
test_parameters.py chore: re-enable isort enforcement (#1802) 2025-03-26 15:22:17 -07:00
test_safety.py feat: Add unit tests for NVIDIA safety (#1897) 2025-04-11 11:49:55 -07:00
test_supervised_fine_tuning.py fix: Handle case when Customizer Job status is unknown (#1965) 2025-04-17 10:27:07 +02:00