summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/backends/sqlite/test_operations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/backends/sqlite/test_operations.py b/tests/backends/sqlite/test_operations.py
index ab6efaa771..0c2772301b 100644
--- a/tests/backends/sqlite/test_operations.py
+++ b/tests/backends/sqlite/test_operations.py
@@ -93,7 +93,8 @@ class SQLiteOperationsTests(TestCase):
first_name_field = Person._meta.get_field("first_name")
last_name_field = Person._meta.get_field("last_name")
self.assertEqual(
- connection.ops.bulk_batch_size([first_name_field], [Person()]), 500
+ connection.ops.bulk_batch_size([first_name_field], [Person()]),
+ connection.features.max_query_params,
)
self.assertEqual(
connection.ops.bulk_batch_size(