@@ -445,7 +445,7 @@ def test_update_streams(self, mocker, stream_view, new_text, expected_log,
445
445
446
446
@pytest .mark .parametrize ('new_text' , [
447
447
'' ,
448
- pytest . param ( ' ' , marks = pytest . mark . xfail ( reason = 'bug' )) ,
448
+ ' ' ,
449
449
])
450
450
def test_update_streams_empty_string (self , mocker , stream_view , new_text ):
451
451
# NOTE: Only do a minimal arrangement to test whether the method
@@ -580,7 +580,7 @@ def test_update_topics(self, mocker, topic_view, new_text, expected_log):
580
580
581
581
@pytest .mark .parametrize ('new_text' , [
582
582
'' ,
583
- pytest . param ( ' ' , marks = pytest . mark . xfail ( reason = 'bug' )) ,
583
+ ' ' ,
584
584
])
585
585
def test_update_topics_empty_string (self , mocker , topic_view , new_text ):
586
586
# NOTE: Only do a minimal arrangement to test whether the method
@@ -1007,9 +1007,10 @@ def test_update_user_list_editor_mode(self, mocker, right_col_view):
1007
1007
@pytest .mark .parametrize (['search_string' , 'assert_list' ,
1008
1008
'match_return_value' ], [
1009
1009
('U' , ["USER1" , "USER2" ], True ),
1010
- ('F' , [], False )
1010
+ ('F' , [], False ),
1011
+ (' ' , ["USER1" , "USER2" ], True ),
1011
1012
], ids = [
1012
- 'user match' , 'no user match' ,
1013
+ 'user match' , 'no user match' , 'empty search' ,
1013
1014
])
1014
1015
def test_update_user_list (self , right_col_view , mocker ,
1015
1016
search_string , assert_list , match_return_value ):
@@ -1030,7 +1031,6 @@ def test_update_user_presence(self, right_col_view, mocker,
1030
1031
set_body = mocker .patch (VIEWS + ".urwid.Frame.set_body" )
1031
1032
1032
1033
right_col_view .update_user_list (user_list = user_list )
1033
-
1034
1034
right_col_view .users_view .assert_called_with (user_list )
1035
1035
set_body .assert_called_once_with (right_col_view .body )
1036
1036
0 commit comments