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