-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add test for single route single utterance #488
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #488 +/- ##
=======================================
Coverage 73.75% 73.75%
=======================================
Files 43 43
Lines 3585 3585
=======================================
Hits 2644 2644
Misses 941 941 ☔ View full report in Codecov by Sentry. |
PR Type
Tests
Description
route_single_utterance
to provide a single route with one utterance for testing purposes.test_initialization_single_utterance
to verify the behavior ofSemanticRouter
when initialized with a single utterance route.Changes walkthrough 📝
test_router.py
Add test for single route with single utterance
tests/unit/test_router.py
route_single_utterance
for a single routewith one utterance.
test_initialization_single_utterance
tovalidate the initialization of a single utterance route in
SemanticRouter
.utterances in the index.