Skip to content

Commit ffdf7eb

Browse files
committed
prettify test file with test for custom judge model (vertexai)
1 parent d0eeedc commit ffdf7eb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

e2etests/judgment_client_test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_classifier_scorer(client: JudgmentClient):
199199
print(res)
200200

201201

202-
def test_custom_judge(client: JudgmentClient):
202+
def test_custom_judge_vertexai(client: JudgmentClient):
203203

204204
import vertexai
205205
from vertexai.generative_models import GenerativeModel
@@ -281,4 +281,9 @@ def get_model_name(self) -> str:
281281
print("Classifier scorer test successful")
282282
print("*" * 40)
283283

284+
print("Testing custom judge")
285+
test_custom_judge_vertexai(ui_client)
286+
print("Custom judge test successful")
287+
print("*" * 40)
288+
284289
print("All tests passed successfully")

0 commit comments

Comments
 (0)