File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -2134,11 +2134,6 @@ def test_notify_user_with_alert_words(
2134
2134
mocker .patch .object (model , "is_muted_stream" , return_value = is_stream_muted )
2135
2135
mocker .patch .object (model , "is_muted_topic" , return_value = is_topic_muted )
2136
2136
notify = mocker .patch (MODULE + ".notify" )
2137
- # recipient_string = model.notify_user(stream_msg_fixture)
2138
- # assert recipient_string == expected_recipient_string
2139
- # notify.assert_called_once_with(mocker.ANY, expected_recipient_string)
2140
- # # add this line to see if the notify function is being called
2141
- notify = mocker .patch (MODULE + ".notify" )
2142
2137
model .notify_user (stream_msg_fixture )
2143
2138
if no_of_times_notify_call_expected == 1 :
2144
2139
assert notify .called
You can’t perform that action at this time.
0 commit comments