aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_process_message.py
diff options
context:
space:
mode:
Diffstat (limited to '_pytest/test_process_message.py')
-rw-r--r--_pytest/test_process_message.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/_pytest/test_process_message.py b/_pytest/test_process_message.py
index 5017c10..d4e6a6d 100644
--- a/_pytest/test_process_message.py
+++ b/_pytest/test_process_message.py
@@ -74,6 +74,8 @@ def test_process_message(realish_eventrouter, team, user_alice):
assert list(deleted_message_channel.messages.keys()) == [deleted_message_ts]
deleted_str = "<[color red]>(deleted)<[color reset]>"
assert (
- deleted_message_channel.messages[deleted_message_ts].message_json["text"]
+ deleted_message_channel.messages[deleted_message_ts].message_json[
+ "_rendered_text"
+ ]
== deleted_str
)