Commit f9b38110 authored by Yuri Prezument's avatar Yuri Prezument
Browse files

Regression test for #518

parent 9af6ef7c
......@@ -43,3 +43,13 @@ class TweepyCursorTests(TweepyTestCase):
self.assertEqual(c.iterator.next_cursor, 123456)
self.assertFalse('cursor' in c.iterator.kargs)
def testcursornext(self):
Test behavior, id being passed correctly.
Regression test for issue #518
cursor = Cursor(self.api.user_timeline, id='twitter').items(5)
status =
self.assertEquals(status.user.screen_name, 'twitter')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment