Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocsChangelog

fix: Enhance dictionary access tests and refactor apply_json_filter function

#7335Merged
Comparing
fix-tests-nightly
(
dae66dd
) with
main
(
e82b23f
)
CodSpeed Performance Gauge
+58%
Improvements
2
Regressions
0
Untouched
17
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

test_cancel_nonexistent_build
src/backend/tests/unit/test_chat_endpoint.py::test_cancel_nonexistent_build
CodSpeed Performance Gauge
+58%
12.2 ms
7.7 ms
test_build_flow_invalid_job_id
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_invalid_job_id
CodSpeed Performance Gauge
+57%
12.4 ms
7.9 ms

Passed

test_cancel_build_failure
src/backend/tests/unit/test_chat_endpoint.py::test_cancel_build_failure
CodSpeed Performance Gauge
+2%
256.4 ms
252.5 ms
test_build_flow_start_only
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_start_only
CodSpeed Performance Gauge
+1%
242.9 ms
239.4 ms
test_cancel_build_success
src/backend/tests/unit/test_chat_endpoint.py::test_cancel_build_success
CodSpeed Performance Gauge
+1%
238.1 ms
236.2 ms
test_cancel_build_with_cancelled_error
src/backend/tests/unit/test_chat_endpoint.py::test_cancel_build_with_cancelled_error
CodSpeed Performance Gauge
+1%
257.1 ms
255.1 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
+1%
725.7 ms
720.5 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
0%
1.2 s
1.2 s
test_build_flow_invalid_flow_id
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_invalid_flow_id
CodSpeed Performance Gauge
0%
489.6 ms
489.6 ms
test_cancel_build_unexpected_error
src/backend/tests/unit/test_chat_endpoint.py::test_cancel_build_unexpected_error
CodSpeed Performance Gauge
0%
756.9 ms
757 ms
test_build_flow_polling
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_polling
CodSpeed Performance Gauge
0%
254.4 ms
254.8 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
0%
169.9 ms
170.5 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
0%
254.5 ms
255.5 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
-1%
240.9 ms
242.4 ms
test_build_flow_start_with_inputs
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_start_with_inputs
CodSpeed Performance Gauge
-1%
230.9 ms
234.3 ms
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
-1%
170.3 ms
172.9 ms
test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
-2%
179.9 ms
183.4 ms
test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
CodSpeed Performance Gauge
-2%
164.3 ms
167.5 ms
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
CodSpeed Performance Gauge
-2%
16.5 ms
16.9 ms

Commits

Click on a commit to change the comparison range
Base
main
e82b23f
+58%
test: enhance dictionary access tests with additional examples - Added new example cases to the test_basic_dict_access function to cover edge cases, including empty dictionaries and keys with spaces. - Improved test robustness by utilizing the @example decorator from hypothesis for better failure discovery.
dae66dd
22 days ago
by ogabrielluiz
© 2025 CodSpeed Technology
Home Terms PrivacyDocs