add test coverage for no_cursor_timeout to support recent fix
This commit is contained in:
@@ -1576,6 +1576,7 @@ class BaseQuerySet(object):
|
||||
if self._snapshot:
|
||||
msg = "The snapshot option is not anymore available with PyMongo 3+"
|
||||
warnings.warn(msg, DeprecationWarning)
|
||||
|
||||
cursor_args = {}
|
||||
if not self._timeout:
|
||||
cursor_args["no_cursor_timeout"] = True
|
||||
|
||||
Reference in New Issue
Block a user