MCPcopy Create free account
hub / github.com/ryanmcgrath/twython / init_and_iterate_cursor

Method init_and_iterate_cursor

tests/test_core.py:303–305  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

301 def test_cursor_requires_twython_function(self):
302 """Test that cursor() raises when called without a Twython function"""
303 def init_and_iterate_cursor(*args, **kwargs):
304 cursor = self.api.cursor(*args, **kwargs)
305 return next(cursor)
306
307 non_function = object()
308 non_twython_function = lambda x: x

Callers

nothing calls this directly

Calls 2

cursorMethod · 0.80
nextFunction · 0.50

Tested by

no test coverage detected