Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Studio tests: pin the delete chat placeholder, not its wording (#16397)

Daniel Han3a7798be6c94
diff --git a/tests/studio/test_en_catalog.py b/tests/studio/test_en_catalog.py
index 2a5f82854ea..e908745c967 100644
--- a/tests/studio/test_en_catalog.py
+++ b/tests/studio/test_en_catalog.py
@@ -155,7 +155,8 @@ def test_a_comment_is_not_read_as_a_key(sample):
def test_the_shipped_catalog_resolves():
assert en_string("composerSettings.showContext")
assert en_string("settings.chat.showResponseModel")
- assert en_string("shell.dialog.deleteChat.description").endswith('"{name}"?')
+ # The copy is free to change (#16390 reworded it); the chat name placeholder is the contract.
+ assert '"{name}"' in en_string("shell.dialog.deleteChat.description")
def test_every_key_the_studio_tests_ask_for_exists():