llama-stack/tests/unit/distribution
Derek Higgins 78ef6a6099
chore: Increase unit test coverage of routing_tables.py (#2057)
# What does this PR do?
Adds some unit tests for the routing logic

## Test Plan
Overall unit test coverage goes from 
TOTAL 12434 8030 35%
to
TOTAL 12434 7871 37%

Better coverage on router.py, before:

```
llama_stack/distribution/routers/routers.py | 342 | 219 | 0 | 36%
llama_stack/distribution/routers/routing_tables.py | 346 | 236 | 0 | 32%
```

After:

```
llama_stack/distribution/routers/routers.py | 342 | 219 | 0 | 36%
llama_stack/distribution/routers/routing_tables.py | 349 | 89 | 0 | 74%
```

Signed-off-by: Derek Higgins <derekh@redhat.com>
2025-04-30 16:00:43 +02:00
..
routers chore: Increase unit test coverage of routing_tables.py (#2057) 2025-04-30 16:00:43 +02:00
test_build_path.py feat: include run.yaml in the container image (#2005) 2025-04-24 11:29:53 +02:00
test_context.py refactor: move missing tests to test directory (#1892) 2025-04-08 18:54:00 -07:00
test_distribution.py feat: ability to execute external providers (#1672) 2025-04-09 10:30:41 +02:00