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',
        ])
Calling the C{ensureIsWorkingDirectory} VCS command's method on an
dataset/ETHPy150Open django/django/tests/mail/test_sendtestemail.py/SendTestEmailManagementCommand.test_admin_receivers--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/CommandsTestMixin.test_ensureIsWorkingDirectoryWithNonWorkingDirectory