@@ -520,11 +520,11 @@ def direct_message_fixture(request: Any) -> Message:
520520
521521@pytest .fixture (
522522 params = ["stream_msg_template" , "dm_template" , "group_dm_template" ],
523- ids = ["stream_message" , "dm_message " , "group_dm_message " ],
523+ ids = ["stream_message" , "pm_message " , "group_pm_message " ],
524524)
525525def message_fixture (request : Any ) -> Message :
526526 """
527- Acts as a parametrize fixture for stream msg, dms and group_dms .
527+ Acts as a parametrize fixture for stream msg, dms and group_pms .
528528 """
529529 # `request` currently does not have an exported Pytest type.
530530 # TODO: Use the exported type when it's made available.
@@ -634,10 +634,10 @@ def topics() -> List[str]:
634634 ],
635635 ids = [
636636 "stream_mention__stream_wildcard" ,
637- "stream+dm_mention__no_wildcard " ,
638- "no_mention__stream+dm_wildcard " ,
639- "stream+group_mention__dm_wildcard " ,
640- "dm_mention__stream +group_wildcard" ,
637+ "stream+pm_mention__no_wildcard " ,
638+ "no_mention__stream+pm_wildcard " ,
639+ "stream+group_mention__pm_wildcard " ,
640+ "pm_mention__stream +group_wildcard" ,
641641 "group_mention__all_wildcard" ,
642642 "all_mention__stream_wildcard" ,
643643 "stream+group_mention__wildcard" ,
@@ -1140,7 +1140,7 @@ def index_multiple_topic_msg(
11401140@pytest .fixture
11411141def index_user (empty_index : Index ) -> Index :
11421142 """
1143- Expected index of initial_data when model.narrow = [['dm_with ',
1143+ Expected index of initial_data when model.narrow = [['pm_with ',
11441144 'boo@zulip.com'],
11451145 """
11461146 user_ids = frozenset ({5179 , 5140 })
@@ -1153,7 +1153,7 @@ def index_user(empty_index: Index) -> Index:
11531153@pytest .fixture
11541154def index_user_multiple (empty_index : Index ) -> Index :
11551155 """
1156- Expected index of initial_data when model.narrow = [['dm_with ',
1156+ Expected index of initial_data when model.narrow = [['pm_with ',
11571157 'boo@zulip.com, bar@zulip.com'],
11581158 """
11591159 user_ids = frozenset ({5179 , 5140 , 5180 })
0 commit comments