mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Model.save keyword only
This commit is contained in:
parent
a8e3298260
commit
2ad921c04d
1 changed files with 6 additions and 1 deletions
|
|
@ -124,7 +124,12 @@ class FieldTrackerTests(FieldTrackerCommonMixin, TestCase):
|
|||
|
||||
def test_save_with_args(self) -> None:
|
||||
self.instance.number = 1
|
||||
self.instance.save(False, False, None, None)
|
||||
self.instance.save(
|
||||
force_insert=False,
|
||||
force_update=False,
|
||||
using=None,
|
||||
update_fields=None
|
||||
)
|
||||
self.assertChanged()
|
||||
|
||||
def test_first_save(self) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue