This commit is contained in:
@@ -116,8 +116,8 @@ def test_rich_inspector_outputs_more_than_builtin(monkeypatch):
|
|||||||
assert "Returns a welcome message." in builtin_text
|
assert "Returns a welcome message." in builtin_text
|
||||||
|
|
||||||
# Informations outside functions are visible in both
|
# Informations outside functions are visible in both
|
||||||
assert "role = 'admin'" in rich_text
|
assert "role" and "admin'" in rich_text
|
||||||
assert "role = 'admin'" in builtin_text
|
assert "role" and "admin'" in builtin_text
|
||||||
|
|
||||||
# Class docstring is shown in both
|
# Class docstring is shown in both
|
||||||
assert "Represents a user in the system." in rich_text
|
assert "Represents a user in the system." in rich_text
|
||||||
|
|||||||
Reference in New Issue
Block a user