mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
fixed deprecation warning it test_actions
This commit is contained in:
parent
b285164379
commit
0cbaf7f089
1 changed files with 3 additions and 3 deletions
|
|
@ -23,19 +23,19 @@ class ActionTest(TestCase):
|
|||
TestAction,
|
||||
test_function,
|
||||
])
|
||||
self.assertEquals(
|
||||
self.assertEqual(
|
||||
get_description(
|
||||
self.admin2.registry[Thing].list_actions[0]
|
||||
),
|
||||
'Delete selected items'
|
||||
)
|
||||
self.assertEquals(
|
||||
self.assertEqual(
|
||||
get_description(
|
||||
self.admin2.registry[Thing].list_actions[1]
|
||||
),
|
||||
'Test Action Class'
|
||||
)
|
||||
self.assertEquals(
|
||||
self.assertEqual(
|
||||
get_description(
|
||||
self.admin2.registry[Thing].list_actions[2]
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue