(self)
| 2314 | # RemovedInDjango70Warning. |
| 2315 | @ignore_warnings(category=RemovedInDjango70Warning) |
| 2316 | def test_using_connection_conflict(self): |
| 2317 | msg = "'connection' is not compatible with 'using'." |
| 2318 | with self.assertRaisesMessage(TypeError, msg): |
| 2319 | send_mass_mail( |
| 2320 | [("Subject1", "Content1", "from1@example.com", ["to1@example.com"])], |
| 2321 | connection=object(), |
| 2322 | using="default", |
| 2323 | ) |
| 2324 | |
| 2325 | # RemovedInDjango70Warning. |
| 2326 | @ignore_warnings(category=RemovedInDjango70Warning) |
nothing calls this directly
no test coverage detected