Skip to content

Commit 1545076

Browse files
committed
fix: test
1 parent 9b44c2c commit 1545076

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/unit/test_router.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,8 +1143,9 @@ def test_with_unrecognized_route(self, routes, index_cls, encoder_cls, router_cl
11431143
# Test with a route name that does not exist in the route_layer's routes
11441144
query_results = [{"route": "UnrecognizedRoute", "score": 0.9}]
11451145
results = route_layer._semantic_classify(query_results)
1146-
assert (
1147-
results == ("UnrecognizedRoute", [0.9])
1146+
assert results == (
1147+
"UnrecognizedRoute",
1148+
[0.9],
11481149
), "Semantic classify can return unrecognized routes"
11491150

11501151
def test_set_aggregation_method_with_unsupported_value(

0 commit comments

Comments
 (0)