@@ -520,11 +520,11 @@ def direct_message_fixture(request: Any) -> Message:
520
520
521
521
@pytest .fixture (
522
522
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 " ],
524
524
)
525
525
def message_fixture (request : Any ) -> Message :
526
526
"""
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 .
528
528
"""
529
529
# `request` currently does not have an exported Pytest type.
530
530
# TODO: Use the exported type when it's made available.
@@ -634,10 +634,10 @@ def topics() -> List[str]:
634
634
],
635
635
ids = [
636
636
"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" ,
641
641
"group_mention__all_wildcard" ,
642
642
"all_mention__stream_wildcard" ,
643
643
"stream+group_mention__wildcard" ,
@@ -1140,7 +1140,7 @@ def index_multiple_topic_msg(
1140
1140
@pytest .fixture
1141
1141
def index_user (empty_index : Index ) -> Index :
1142
1142
"""
1143
- Expected index of initial_data when model.narrow = [['dm_with ',
1143
+ Expected index of initial_data when model.narrow = [['pm_with ',
1144
1144
1145
1145
"""
1146
1146
user_ids = frozenset ({5179 , 5140 })
@@ -1153,7 +1153,7 @@ def index_user(empty_index: Index) -> Index:
1153
1153
@pytest .fixture
1154
1154
def index_user_multiple (empty_index : Index ) -> Index :
1155
1155
"""
1156
- Expected index of initial_data when model.narrow = [['dm_with ',
1156
+ Expected index of initial_data when model.narrow = [['pm_with ',
1157
1157
1158
1158
"""
1159
1159
user_ids = frozenset ({5179 , 5140 , 5180 })
0 commit comments