@mock.patch.object(Site.objects, 'get_current')
    def test_send_nonexistent(self, get_current):
        get_current.return_value.domain = 'testserver'

        send_group_email(1)
        eq_(0, len(mail.outbox))
Route a stanza.
dataset/ETHPy150Open mozilla/kitsune/kitsune/announcements/tests/test_tasks.py/AnnouncementSaveTests.test_send_nonexistent--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/protocols/jabber/component.py/Router.route