mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-05-16 11:33:11 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
39bd421d9b
commit
2dec7d3733
1 changed files with 1 additions and 4 deletions
|
|
@ -1646,10 +1646,7 @@ class DiffMsgTest(TestCase):
|
|||
first = SimpleModel()
|
||||
second = SimpleModel(text=_("test"))
|
||||
changes = model_instance_diff(first, second)
|
||||
self.assertEqual(
|
||||
changes,
|
||||
{'text': ('', 'test')}
|
||||
)
|
||||
self.assertEqual(changes, {"text": ("", "test")})
|
||||
second.save()
|
||||
log_one = second.history.last()
|
||||
self.assertTrue(isinstance(log_one, LogEntry))
|
||||
|
|
|
|||
Loading…
Reference in a new issue