Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 22, 2024
1 parent 5c6d976 commit 66b4aa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auditlog_tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,9 @@ def test_json_field_value_none(self):
json_model = JSONModel(json=Value(None, JSONField()))
json_model.save()
self.assertEqual(json_model.history.count(), 1)
self.assertEqual(json_model.history.latest().changes_dict["json"][1], 'Value(None)')
self.assertEqual(
json_model.history.latest().changes_dict["json"][1], "Value(None)"
)


class UnregisterTest(TestCase):
Expand Down

0 comments on commit 66b4aa2

Please sign in to comment.