@@ -942,8 +942,8 @@ def test_keypress_NEXT_UNREAD_TOPIC_no_stream(
942
942
assert mid_col_view .controller .narrow_to_topic .called is False
943
943
assert return_value == key
944
944
945
- @pytest .mark .parametrize ("key" , keys_for_command ("NEXT_UNREAD_PM " ))
946
- def test_keypress_NEXT_UNREAD_PM_stream (
945
+ @pytest .mark .parametrize ("key" , keys_for_command ("NEXT_UNREAD_DM " ))
946
+ def test_keypress_NEXT_UNREAD_DM_stream (
947
947
self , mid_col_view , mocker , key , widget_size
948
948
):
949
949
size = widget_size (mid_col_view )
@@ -959,8 +959,8 @@ def test_keypress_NEXT_UNREAD_PM_stream(
959
959
contextual_message_id = 1 ,
960
960
)
961
961
962
- @pytest .mark .parametrize ("key" , keys_for_command ("NEXT_UNREAD_PM " ))
963
- def test_keypress_NEXT_UNREAD_PM_no_dm (
962
+ @pytest .mark .parametrize ("key" , keys_for_command ("NEXT_UNREAD_DM " ))
963
+ def test_keypress_NEXT_UNREAD_DM_no_dm (
964
964
self , mid_col_view , mocker , key , widget_size
965
965
):
966
966
size = widget_size (mid_col_view )
@@ -1152,7 +1152,7 @@ def mock_external_classes(self, mocker):
1152
1152
def test_menu_view (self , mocker ):
1153
1153
self .streams_view = mocker .patch (VIEWS + ".LeftColumnView.streams_view" )
1154
1154
home_button = mocker .patch (VIEWS + ".HomeButton" )
1155
- dm_button = mocker .patch (VIEWS + ".PMButton " )
1155
+ dm_button = mocker .patch (VIEWS + ".DMButton " )
1156
1156
starred_button = mocker .patch (VIEWS + ".StarredButton" )
1157
1157
mocker .patch (VIEWS + ".urwid.ListBox" )
1158
1158
mocker .patch (VIEWS + ".urwid.SimpleFocusListWalker" )
0 commit comments