summaryrefslogtreecommitdiff
path: root/tests/modeladmin
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeladmin')
-rw-r--r--tests/modeladmin/test_checks.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/modeladmin/test_checks.py b/tests/modeladmin/test_checks.py
index 98cc56d67c..308f4a19eb 100644
--- a/tests/modeladmin/test_checks.py
+++ b/tests/modeladmin/test_checks.py
@@ -1441,9 +1441,8 @@ class ActionsCheckTests(CheckTestCase):
self.assertIsInvalid(
BandAdmin, Band,
- "__name__ attributes of actions defined in "
- "<class 'modeladmin.test_checks.ActionsCheckTests."
- "test_actions_not_unique.<locals>.BandAdmin'> must be unique.",
+ "__name__ attributes of actions defined in BandAdmin must be "
+ "unique. Name 'action' is not unique.",
id='admin.E130',
)