Queryset delete should throw some signals.
(self)
| 384 | ] |
| 385 | |
| 386 | def test_queryset_delete_signals(self): |
| 387 | """Queryset delete should throw some signals.""" |
| 388 | |
| 389 | self.Another(name="Bill Shakespeare").save() |
| 390 | assert self.get_signal_output(self.Another.objects.delete) == [ |
| 391 | "pre_delete signal, Bill Shakespeare", |
| 392 | {}, |
| 393 | "post_delete signal, Bill Shakespeare", |
| 394 | {}, |
| 395 | ] |
| 396 | |
| 397 | def test_signals_with_explicit_doc_ids(self): |
| 398 | """Model saves must have a created flag the first time.""" |
nothing calls this directly
no test coverage detected