From 449d30e57ce5563a71ca9888e371a948dcd15752 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:04:06 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../tests/unit_tests/test_tidb_service.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/api/providers/vdb/vdb-tidb-on-qdrant/tests/unit_tests/test_tidb_service.py b/api/providers/vdb/vdb-tidb-on-qdrant/tests/unit_tests/test_tidb_service.py index 9af70bbefe..c1ffbacbbc 100644 --- a/api/providers/vdb/vdb-tidb-on-qdrant/tests/unit_tests/test_tidb_service.py +++ b/api/providers/vdb/vdb-tidb-on-qdrant/tests/unit_tests/test_tidb_service.py @@ -184,8 +184,13 @@ class TestBatchCreateEdgeCases: mock_redis.get.return_value = None result = TidbService.batch_create_tidb_serverless_cluster( - batch_size=1, project_id="proj", api_url="url", iam_url="iam", - public_key="pub", private_key="priv", region="us-east-1", + batch_size=1, + project_id="proj", + api_url="url", + iam_url="iam", + public_key="pub", + private_key="priv", + region="us-east-1", ) assert len(result) == 0 @@ -203,6 +208,11 @@ class TestBatchCreateEdgeCases: with pytest.raises(Exception, match="HTTP 500"): TidbService.batch_create_tidb_serverless_cluster( - batch_size=1, project_id="proj", api_url="url", iam_url="iam", - public_key="pub", private_key="priv", region="us-east-1", + batch_size=1, + project_id="proj", + api_url="url", + iam_url="iam", + public_key="pub", + private_key="priv", + region="us-east-1", )