mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 23:10:48 +08:00
assert correct msg
This commit is contained in:
parent
a8c344e978
commit
0f1df4f339
@ -433,7 +433,7 @@ class TestApiToolManageService:
|
||||
with pytest.raises(ValidationError) as exc_info:
|
||||
TypeAdapter(ApiProviderSchemaType).validate_python(schema_type)
|
||||
|
||||
assert "invalid schema type" in str(exc_info.value)
|
||||
assert "validation error" in str(exc_info.value)
|
||||
|
||||
def test_create_api_tool_provider_missing_auth_type(
|
||||
self, flask_req_ctx_with_containers, db_session_with_containers, mock_external_service_dependencies
|
||||
|
||||
Loading…
Reference in New Issue
Block a user