Add unit tests for gateway routing
This commit is contained in:
parent
98ab11fac6
commit
9de7af59b7
11
tests/test_gateway.py
Normal file
11
tests/test_gateway.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
from routeforge.gateway import Gateway
|
||||||
|
|
||||||
|
|
||||||
|
def test_default_provider():
|
||||||
|
gw = Gateway()
|
||||||
|
assert gw.route().name == "gemini"
|
||||||
|
|
||||||
|
|
||||||
|
def test_explicit_provider():
|
||||||
|
gw = Gateway()
|
||||||
|
assert gw.route("claude").name == "claude"
|
||||||
Loading…
Reference in New Issue
Block a user