llama-stack/llama_stack/providers/tests/inference
Sébastien Han 840344975d
test: rm unused exception alias in pytest.raises (#991)
# What does this PR do?

Refactored tests by removing unused exception alias (as exc_info) in
pytest.raises, improving code clarity and reducing lint warnings.
exc_info was never used.

Signed-off-by: Sébastien Han <seb@redhat.com>

## Test Plan

Please describe:
 - tests you ran to verify your changes with result summaries.
 - provide instructions so it can be reproduced.


## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-02-07 08:04:25 -08:00
..
groq Support sys_prompt behavior in inference (#937) 2025-02-03 23:35:16 -08:00
__init__.py Remove "routing_table" and "routing_key" concepts for the user (#201) 2024-10-10 10:24:13 -07:00
conftest.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
fixtures.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
pasta.jpeg Enable vision models for (Together, Fireworks, Meta-Reference, Ollama) (#376) 2024-11-05 16:22:33 -08:00
test_embeddings.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
test_model_registration.py test: rm unused exception alias in pytest.raises (#991) 2025-02-07 08:04:25 -08:00
test_prompt_adapter.py Support sys_prompt behavior in inference (#937) 2025-02-03 23:35:16 -08:00
test_text_inference.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
test_vision_inference.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
utils.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00