From bd7be335f76537a1df04f9d23495c9ce32229996 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Tue, 5 Aug 2025 15:28:20 +0200 Subject: [PATCH] Update tests/test_utils_richcfg.py --- tests/test_utils_richcfg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_utils_richcfg.py b/tests/test_utils_richcfg.py index f6120fcd6..93a582a18 100644 --- a/tests/test_utils_richcfg.py +++ b/tests/test_utils_richcfg.py @@ -116,8 +116,8 @@ def test_rich_inspector_outputs_more_than_builtin(monkeypatch): assert "Returns a welcome message." in builtin_text # Informations outside functions are visible in both - assert "role = 'admin'" in rich_text - assert "role = 'admin'" in builtin_text + assert "role" and "admin'" in rich_text + assert "role" and "admin'" in builtin_text # Class docstring is shown in both assert "Represents a user in the system." in rich_text