[router] fix router release workflow and add build test in PR (#12315)
This commit is contained in:
@@ -406,7 +406,7 @@ class TestPolicyFromStr:
|
||||
|
||||
def test_valid_policies(self):
|
||||
"""Test conversion of valid policy strings."""
|
||||
from sglang_router_rs import PolicyType
|
||||
from sglang_router.sglang_router_rs import PolicyType
|
||||
|
||||
assert policy_from_str("random") == PolicyType.Random
|
||||
assert policy_from_str("round_robin") == PolicyType.RoundRobin
|
||||
|
||||
Reference in New Issue
Block a user