From b5edd50f0204bd61dae3f7282b02d8b1cf90309e Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Tue, 28 Jun 2022 16:44:21 +0200 Subject: [PATCH] Remove double underscores from tests name --- auditlog_tests/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/auditlog_tests/tests.py b/auditlog_tests/tests.py index 1e0a501..7f1c145 100644 --- a/auditlog_tests/tests.py +++ b/auditlog_tests/tests.py @@ -1273,12 +1273,12 @@ class DiffMsgTest(TestCase): changes=json.dumps(changes), ) - def test_changes_msg__delete(self): + def test_changes_msg_delete(self): log_entry = self._create_log_entry(LogEntry.Action.DELETE, {}) self.assertEqual(self.admin.msg(log_entry), "") - def test_changes_msg__create(self): + def test_changes_msg_create(self): log_entry = self._create_log_entry( LogEntry.Action.CREATE, { @@ -1298,7 +1298,7 @@ class DiffMsgTest(TestCase): ), ) - def test_changes_msg__update(self): + def test_changes_msg_update(self): log_entry = self._create_log_entry( LogEntry.Action.UPDATE, { @@ -1319,7 +1319,7 @@ class DiffMsgTest(TestCase): ), ) - def test_changes_msg__m2m(self): + def test_changes_msg_m2m(self): log_entry = self._create_log_entry( LogEntry.Action.UPDATE, { # mimicking the format used by log_m2m_changes