(self)
| 140 | Note.objects.bulk_update([], fields=["note"], batch_size=0) |
| 141 | |
| 142 | def test_nonexistent_field(self): |
| 143 | with self.assertRaisesMessage( |
| 144 | FieldDoesNotExist, "Note has no field named 'nonexistent'" |
| 145 | ): |
| 146 | Note.objects.bulk_update([], ["nonexistent"]) |
| 147 | |
| 148 | pk_fields_error = "bulk_update() cannot be used with primary key fields." |
| 149 |
nothing calls this directly
no test coverage detected