def test_admin_receivers(self):
        call_command('sendtestemail', '--admins')
        self.assertEqual(len(mail.outbox), 1)
        mail_message = mail.outbox[0]
        self.assertEqual(sorted(mail_message.recipients()), [
            'admin@example.com',
            'admin_and_manager@example.com',
        ])
The mail should be sent to the email addresses specified in
dataset/ETHPy150Open django/django/tests/mail/test_sendtestemail.py/SendTestEmailManagementCommand.test_admin_receivers