mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +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
ce58befd27
commit
f356474eca
1 changed files with 4 additions and 2 deletions
|
|
@ -2090,7 +2090,7 @@ class JSONModelTest(TestCase):
|
|||
)
|
||||
self.assertEqual(
|
||||
history.changes_str,
|
||||
"json: {} → {\"quantity\": \"1\"}",
|
||||
'json: {} → {"quantity": "1"}',
|
||||
msg="Changes string is correct",
|
||||
)
|
||||
|
||||
|
|
@ -3153,7 +3153,9 @@ class BaseManagerSettingTest(TestCase):
|
|||
}
|
||||
},
|
||||
)
|
||||
self.assertEqual(log_entry.changes_str, f"m2m_related: add {[smart_str(obj_two)]}")
|
||||
self.assertEqual(
|
||||
log_entry.changes_str, f"m2m_related: add {[smart_str(obj_two)]}"
|
||||
)
|
||||
|
||||
|
||||
class TestMaskStr(TestCase):
|
||||
|
|
|
|||
Loading…
Reference in a new issue