From f356474eca0b116f7e1c22db858b176658f0bad5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Jan 2026 11:20:53 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- auditlog_tests/tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/auditlog_tests/tests.py b/auditlog_tests/tests.py index 2237e3a..6764195 100644 --- a/auditlog_tests/tests.py +++ b/auditlog_tests/tests.py @@ -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):