MCPcopy
hub / github.com/RasaHQ/rasa / test_list_routes

Function test_list_routes

tests/test_server.py:1430–1454  ·  view source on GitHub ↗
(empty_agent: Agent)

Source from the content-addressed store, hash-verified

1428
1429
1430def test_list_routes(empty_agent: Agent):
1431 app = rasa.server.create_app(empty_agent, auth_token=None)
1432
1433 routes = utils.list_routes(app)
1434 assert set(routes.keys()) == {
1435 "hello",
1436 "version",
1437 "status",
1438 "retrieve_tracker",
1439 "append_events",
1440 "replace_events",
1441 "retrieve_story",
1442 "execute_action",
1443 "trigger_intent",
1444 "predict",
1445 "add_message",
1446 "train",
1447 "evaluate_stories",
1448 "evaluate_intents",
1449 "tracker_predict",
1450 "parse",
1451 "load_model",
1452 "unload_model",
1453 "get_domain",
1454 }
1455
1456
1457async def test_unload_model_error(rasa_app: SanicASGITestClient):

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…