mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
This commit is contained in:
@@ -812,11 +812,7 @@ class ChangeListTests(TestCase):
|
||||
cl.page_num = page_num
|
||||
cl.get_results(request)
|
||||
real_page_range = pagination(cl)['page_range']
|
||||
|
||||
self.assertListEqual(
|
||||
expected_page_range,
|
||||
list(real_page_range),
|
||||
)
|
||||
self.assertEqual(expected_page_range, list(real_page_range))
|
||||
|
||||
def test_object_tools_displayed_no_add_permission(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user