(self)
| 450 | }, |
| 451 | ) |
| 452 | def test_using_arg(self): |
| 453 | handler = AdminEmailHandler(using="custom") |
| 454 | handler.emit(self.make_log_record()) |
| 455 | self.assertEqual(len(mail.outbox), 1) |
| 456 | self.assertEqual(mail.outbox[0].sent_using, "custom") |
| 457 | |
| 458 | # RemovedInDjango70Warning. |
| 459 | def test_using_conflicts_with_email_backend(self): |
nothing calls this directly
no test coverage detected