mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #17627 -- Renamed util.py files to utils.py
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
This commit is contained in:
@@ -382,7 +382,7 @@ class ProxyModelAdminTests(TestCase):
|
||||
base_user = BaseUser.objects.all()[0]
|
||||
issue = Issue.objects.all()[0]
|
||||
with self.assertNumQueries(7):
|
||||
collector = admin.util.NestedObjects('default')
|
||||
collector = admin.utils.NestedObjects('default')
|
||||
collector.collect(ProxyTrackerUser.objects.all())
|
||||
self.assertTrue(tracker_user in collector.edges.get(None, ()))
|
||||
self.assertTrue(base_user in collector.edges.get(None, ()))
|
||||
|
||||
Reference in New Issue
Block a user