Skip to content

Commit

Permalink
test: fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
narasux committed Oct 7, 2023
1 parent 1369283 commit 23a51bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bk-user/tests/apps/data_source/test_notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_send_without_passwd_map(self, full_local_data_source):

@mock.patch("bkuser.component.cmsi.send_mail", return_value=None)
@mock.patch("bkuser.component.cmsi.send_sms", return_value=None)
def test_send(self, full_local_data_source):
def test_send(self, mocked_send_sms, mocked_send_mail, full_local_data_source):
notifier = LocalDataSourceUserNotifier(
data_source=full_local_data_source, scene=NotificationScene.USER_INITIALIZE
)
Expand Down

0 comments on commit 23a51bf

Please sign in to comment.