-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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: adds test cases for loop component compatibility with the APIs #5615
base: loop-component
Are you sure you want to change the base?
Conversation
- Renamed 'loop' input to 'loop_input' for clarity. - Simplified logic for checking loop input and aggregating results. - Enhanced type hints for better code readability and maintainability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you take a look at the TestBatchRunComponent
test and build these tests using the same structure?
c7d1466
to
a161193
Compare
CodSpeed Performance ReportMerging #5615 will not alter performanceComparing Summary
Benchmarks breakdown
|
e839deb
to
2385623
Compare
a161193
to
3b8cb29
Compare
The test has been updated. The first test with the build endpoint passes |
This pull request introduces a new test for loop functionality in the backend tests. The changes include adding a new test file, updating existing test configurations, and creating new fixtures.
New Test Functionality:
src/backend/tests/unit/components/logic/test_loop.py
: Added a new test file to test loop functionality, including functions to create a flow, check messages, and run the flow loop.Test Configuration Updates:
src/backend/tests/conftest.py
: Added a new test data fileLoopTest.json
and created a new fixturejson_loop_test
for it. Updated thepytest_configure
function and theget_text
function to include the new test data file. [1] [2] [3]