From 9f5e7dd95b9ed7ca00a9ed13b68dbebff49a7308 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 05:54:20 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../tests/unit_tests/test_tidb_on_qdrant_vector.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/providers/vdb/vdb-tidb-on-qdrant/tests/unit_tests/test_tidb_on_qdrant_vector.py b/api/providers/vdb/vdb-tidb-on-qdrant/tests/unit_tests/test_tidb_on_qdrant_vector.py index 7bc84bced5..8bca399d93 100644 --- a/api/providers/vdb/vdb-tidb-on-qdrant/tests/unit_tests/test_tidb_on_qdrant_vector.py +++ b/api/providers/vdb/vdb-tidb-on-qdrant/tests/unit_tests/test_tidb_on_qdrant_vector.py @@ -224,7 +224,9 @@ class TestInitVectorEndpointSelection: @patch("dify_vdb_tidb_on_qdrant.tidb_on_qdrant_vector.select") @patch("dify_vdb_tidb_on_qdrant.tidb_on_qdrant_vector.db") @patch("dify_vdb_tidb_on_qdrant.tidb_on_qdrant_vector.qdrant_client.QdrantClient") - def test_falls_back_to_global_when_binding_endpoint_is_none(self, mock_qc, mock_db, mock_select, mock_config, mock_app): + def test_falls_back_to_global_when_binding_endpoint_is_none( + self, mock_qc, mock_db, mock_select, mock_config, mock_app + ): binding = self._make_binding(qdrant_endpoint=None) mock_db.session.scalars.return_value.one_or_none.return_value = binding self._setup_config(mock_config, mock_app)