mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed typo in tests/backends/postgresql/test_server_side_cursors.py.
This commit is contained in:
parent
0ee2b8c326
commit
2c6e4a29b0
@ -53,7 +53,7 @@ class ServerSideCursorsPostgres(TestCase):
|
||||
self.assertFalse(cursor.is_holdable)
|
||||
self.assertFalse(cursor.is_binary)
|
||||
|
||||
def asserNotUsesCursor(self, queryset):
|
||||
def assertNotUsesCursor(self, queryset):
|
||||
self.assertUsesCursor(queryset, num_expected=0)
|
||||
|
||||
def test_server_side_cursor(self):
|
||||
@ -98,4 +98,4 @@ class ServerSideCursorsPostgres(TestCase):
|
||||
del persons # Close server-side cursor
|
||||
|
||||
with self.override_db_setting(DISABLE_SERVER_SIDE_CURSORS=True):
|
||||
self.asserNotUsesCursor(Person.objects.iterator())
|
||||
self.assertNotUsesCursor(Person.objects.iterator())
|
||||
|
Loading…
Reference in New Issue
Block a user