Perform pre-test setup: * Create a test client. * Clear the mail test outbox.
(cls)
| 378 | |
| 379 | @classmethod |
| 380 | def _pre_setup(cls): |
| 381 | """ |
| 382 | Perform pre-test setup: |
| 383 | * Create a test client. |
| 384 | * Clear the mail test outbox. |
| 385 | """ |
| 386 | cls.client = cls.client_class() |
| 387 | cls.async_client = cls.async_client_class() |
| 388 | mail.outbox = [] |
| 389 | |
| 390 | def _post_teardown(self): |
| 391 | """Perform post-test things.""" |
no outgoing calls
no test coverage detected