def test_send_notifications_empty_user_list(self):
        self.people = []
        self.pushmanager_url = "fake_push_url"
        self.pushtype = "fake_puth_type"

        with self.mocked_notifications() as (mocked_call, mocked_mail, mocked_xmpp):
            send_notifications(self.people, self.pushtype, self.pushmanager_url)
            mocked_call.assert_called_once_with([
                '/nail/sys/bin/nodebot',
                '-i',
                Settings['irc']['nickname'],
                Settings['irc']['channel'],
                mock.ANY,  # msg
            ])
            mocked_mail.assert_called_once_with(
                Settings['mail']['notifyall'],
                mock.ANY,  # msg
                mock.ANY,  # subject
            )
            T.assert_is(mocked_xmpp.called, False)
Main initialization.
dataset/ETHPy150Open YelpArchive/pushmanager/pushmanager/tests/test_servlet_newpush.py/NotificationsTestCase.test_send_notifications_empty_user_list--crossover with--dataset/ETHPy150Open google/google-apputils/google/apputils/appcommands.py/_CommandsStart