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 |
|