mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
use empty set instead of a dict for an 'empty set' test case
This commit is contained in:
parent
e9c45c71d1
commit
b302580283
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class TimeStampedModelTests(TestCase):
|
|||
@parameterized.expand([
|
||||
('list', []),
|
||||
('tuple', ()),
|
||||
('set', {}),
|
||||
('set', set()),
|
||||
])
|
||||
def test_save_is_skipped_for_empty_update_fields_iterable(self, _, update_fields):
|
||||
with freeze_time(datetime(2020, 1, 1)):
|
||||
|
|
|
|||
Loading…
Reference in a new issue