diff --git a/auditlog_tests/tests.py b/auditlog_tests/tests.py index 86f99a17..b04077e7 100644 --- a/auditlog_tests/tests.py +++ b/auditlog_tests/tests.py @@ -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))