[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-01-12 11:20:53 +00:00
parent ce58befd27
commit f356474eca

View file

@ -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):