MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / test_next_blocks

Method test_next_blocks

test/test_change_stream.py:334–338  ·  view source on GitHub ↗

Test that next blocks until a change is readable

(self)

Source from the content-addressed store, hash-verified

332 @no_type_check
333 @client_context.require_sync
334 def test_next_blocks(self):
335 """Test that next blocks until a change is readable"""
336 # Use a short wait time to speed up the test.
337 with self.change_stream(max_await_time_ms=250) as change_stream:
338 self._test_next_blocks(change_stream)
339
340 @no_type_check
341 @client_context.require_sync

Callers

nothing calls this directly

Calls 2

_test_next_blocksMethod · 0.95
change_streamMethod · 0.45

Tested by

no test coverage detected