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 Apr 8, 2024
1 parent 39bd421 commit 2dec7d3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions auditlog_tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1646,10 +1646,7 @@ def test_instance_translation_and_history_logging(self):
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))
Expand Down

0 comments on commit 2dec7d3

Please sign in to comment.