Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
a8346042
Commit
a8346042
authored
Dec 01, 2014
by
Joshua Roesslein
Browse files
Enable cursor tests in Travis builds.
parent
35b92725
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
cassettes/testcursorcursoritems.json
0 → 100644
View file @
a8346042
{
"version"
:
1
,
"interactions"
:
[
{
"request"
:
{
"body"
:
null
,
"headers"
:
{
"Host"
:
[
"api.twitter.com"
]
},
"method"
:
"GET"
,
"uri"
:
"https://api.twitter.com:443/1.1/friends/ids.json?cursor=-1"
},
"response"
:
{
"status"
:
{
"message"
:
"OK"
,
"code"
:
200
},
"headers"
:
{
"status"
:
[
"200 OK"
],
"x-rate-limit-remaining"
:
[
"13"
],
"content-length"
:
[
"193"
],
"strict-transport-security"
:
[
"max-age=631138519"
],
"x-transaction"
:
[
"5c503848f857e6e0"
],
"x-content-type-options"
:
[
"nosniff"
],
"x-connection-hash"
:
[
"485524dcea678f4dcf71b6f6dec34bba"
],
"set-cookie"
:
[
"lang=en"
,
"guest_id=v1%3A141745430070537892; Domain=.twitter.com; Path=/; Expires=Wed, 30-Nov-2016 17:18:20 UTC"
],
"expires"
:
[
"Tue, 31 Mar 1981 05:00:00 GMT"
],
"x-access-level"
:
[
"read-write-directmessages"
],
"server"
:
[
"tsa_b"
],
"last-modified"
:
[
"Mon, 01 Dec 2014 17:18:20 GMT"
],
"x-xss-protection"
:
[
"1; mode=block"
],
"x-rate-limit-reset"
:
[
"1417455148"
],
"pragma"
:
[
"no-cache"
],
"cache-control"
:
[
"no-cache, no-store, must-revalidate, pre-check=0, post-check=0"
],
"date"
:
[
"Mon, 01 Dec 2014 17:18:20 UTC"
],
"x-rate-limit-limit"
:
[
"15"
],
"x-frame-options"
:
[
"SAMEORIGIN"
],
"content-type"
:
[
"application/json;charset=utf-8"
]
},
"body"
:
{
"string"
:
"{
\"
ids
\"
:[783214,382267114,56505125,6844292,222953824,130649891,300392950,551373363,10228272,82407351,9302282],
\"
next_cursor
\"
:0,
\"
next_cursor_str
\"
:
\"
0
\"
,
\"
previous_cursor
\"
:0,
\"
previous_cursor_str
\"
:
\"
0
\"
}"
}
}
},
{
"request"
:
{
"body"
:
null
,
"headers"
:
{
"Host"
:
[
"api.twitter.com"
]
},
"method"
:
"GET"
,
"uri"
:
"https://api.twitter.com:443/1.1/followers/ids.json?cursor=-1&id=tweepytest"
},
"response"
:
{
"status"
:
{
"message"
:
"OK"
,
"code"
:
200
},
"headers"
:
{
"status"
:
[
"200 OK"
],
"x-rate-limit-remaining"
:
[
"13"
],
"content-length"
:
[
"193"
],
"strict-transport-security"
:
[
"max-age=631138519"
],
"x-transaction"
:
[
"699b1da95a5fba3f"
],
"x-content-type-options"
:
[
"nosniff"
],
"x-connection-hash"
:
[
"60863e600c8d7b8f14263aa7ab4cd1f3"
],
"set-cookie"
:
[
"lang=en"
,
"guest_id=v1%3A141745430097925503; Domain=.twitter.com; Path=/; Expires=Wed, 30-Nov-2016 17:18:20 UTC"
],
"expires"
:
[
"Tue, 31 Mar 1981 05:00:00 GMT"
],
"x-access-level"
:
[
"read-write-directmessages"
],
"server"
:
[
"tsa_b"
],
"last-modified"
:
[
"Mon, 01 Dec 2014 17:18:20 GMT"
],
"x-xss-protection"
:
[
"1; mode=block"
],
"x-rate-limit-reset"
:
[
"1417455148"
],
"pragma"
:
[
"no-cache"
],
"cache-control"
:
[
"no-cache, no-store, must-revalidate, pre-check=0, post-check=0"
],
"date"
:
[
"Mon, 01 Dec 2014 17:18:20 UTC"
],
"x-rate-limit-limit"
:
[
"15"
],
"x-frame-options"
:
[
"SAMEORIGIN"
],
"content-type"
:
[
"application/json;charset=utf-8"
]
},
"body"
:
{
"string"
:
"{
\"
ids
\"
:[2786453988,2300963106,1936745119,305754588,933938155,896350026,325253963,176506425,82407351,9302282],
\"
next_cursor
\"
:0,
\"
next_cursor_str
\"
:
\"
0
\"
,
\"
previous_cursor
\"
:0,
\"
previous_cursor_str
\"
:
\"
0
\"
}"
}
}
}
]
}
\ No newline at end of file
cassettes/testcursorcursorpages.json
0 → 100644
View file @
a8346042
{
"version"
:
1
,
"interactions"
:
[
{
"request"
:
{
"body"
:
null
,
"headers"
:
{
"Host"
:
[
"api.twitter.com"
]
},
"method"
:
"GET"
,
"uri"
:
"https://api.twitter.com:443/1.1/friends/ids.json?cursor=-1"
},
"response"
:
{
"status"
:
{
"message"
:
"OK"
,
"code"
:
200
},
"headers"
:
{
"status"
:
[
"200 OK"
],
"x-rate-limit-remaining"
:
[
"12"
],
"content-length"
:
[
"193"
],
"strict-transport-security"
:
[
"max-age=631138519"
],
"x-transaction"
:
[
"f9e87cf56c808da3"
],
"x-content-type-options"
:
[
"nosniff"
],
"x-connection-hash"
:
[
"0c78677182eb831876d8d30675178164"
],
"set-cookie"
:
[
"lang=en"
,
"guest_id=v1%3A141745430126435964; Domain=.twitter.com; Path=/; Expires=Wed, 30-Nov-2016 17:18:21 UTC"
],
"expires"
:
[
"Tue, 31 Mar 1981 05:00:00 GMT"
],
"x-access-level"
:
[
"read-write-directmessages"
],
"server"
:
[
"tsa_b"
],
"last-modified"
:
[
"Mon, 01 Dec 2014 17:18:21 GMT"
],
"x-xss-protection"
:
[
"1; mode=block"
],
"x-rate-limit-reset"
:
[
"1417455148"
],
"pragma"
:
[
"no-cache"
],
"cache-control"
:
[
"no-cache, no-store, must-revalidate, pre-check=0, post-check=0"
],
"date"
:
[
"Mon, 01 Dec 2014 17:18:21 UTC"
],
"x-rate-limit-limit"
:
[
"15"
],
"x-frame-options"
:
[
"SAMEORIGIN"
],
"content-type"
:
[
"application/json;charset=utf-8"
]
},
"body"
:
{
"string"
:
"{
\"
ids
\"
:[783214,382267114,56505125,6844292,222953824,130649891,300392950,551373363,10228272,82407351,9302282],
\"
next_cursor
\"
:0,
\"
next_cursor_str
\"
:
\"
0
\"
,
\"
previous_cursor
\"
:0,
\"
previous_cursor_str
\"
:
\"
0
\"
}"
}
}
},
{
"request"
:
{
"body"
:
null
,
"headers"
:
{
"Host"
:
[
"api.twitter.com"
]
},
"method"
:
"GET"
,
"uri"
:
"https://api.twitter.com:443/1.1/followers/ids.json?cursor=-1&id=tweepytest"
},
"response"
:
{
"status"
:
{
"message"
:
"OK"
,
"code"
:
200
},
"headers"
:
{
"status"
:
[
"200 OK"
],
"x-rate-limit-remaining"
:
[
"12"
],
"content-length"
:
[
"193"
],
"strict-transport-security"
:
[
"max-age=631138519"
],
"x-transaction"
:
[
"ee4340c900825beb"
],
"x-content-type-options"
:
[
"nosniff"
],
"x-connection-hash"
:
[
"420aafaa49fba78e3d159725ad9c663e"
],
"set-cookie"
:
[
"lang=en"
,
"guest_id=v1%3A141745430151997221; Domain=.twitter.com; Path=/; Expires=Wed, 30-Nov-2016 17:18:21 UTC"
],
"expires"
:
[
"Tue, 31 Mar 1981 05:00:00 GMT"
],
"x-access-level"
:
[
"read-write-directmessages"
],
"server"
:
[
"tsa_b"
],
"last-modified"
:
[
"Mon, 01 Dec 2014 17:18:21 GMT"
],
"x-xss-protection"
:
[
"1; mode=block"
],
"x-rate-limit-reset"
:
[
"1417455148"
],
"pragma"
:
[
"no-cache"
],
"cache-control"
:
[
"no-cache, no-store, must-revalidate, pre-check=0, post-check=0"
],
"date"
:
[
"Mon, 01 Dec 2014 17:18:21 UTC"
],
"x-rate-limit-limit"
:
[
"15"
],
"x-frame-options"
:
[
"SAMEORIGIN"
],
"content-type"
:
[
"application/json;charset=utf-8"
]
},
"body"
:
{
"string"
:
"{
\"
ids
\"
:[2786453988,2300963106,1936745119,305754588,933938155,896350026,325253963,176506425,82407351,9302282],
\"
next_cursor
\"
:0,
\"
next_cursor_str
\"
:
\"
0
\"
,
\"
previous_cursor
\"
:0,
\"
previous_cursor_str
\"
:
\"
0
\"
}"
}
}
}
]
}
\ No newline at end of file
cassettes/testcursornext.json
0 → 100644
View file @
a8346042
This diff is collapsed.
Click to expand it.
cassettes/testidcursoritems.json
0 → 100644
View file @
a8346042
This diff is collapsed.
Click to expand it.
cassettes/testidcursorpages.json
0 → 100644
View file @
a8346042
This diff is collapsed.
Click to expand it.
tests/travis-tests.cfg
View file @
a8346042
[nosetests]
tests=tests.test_api,tests.test_utils
tests=tests.test_api,tests.test_utils
,tests.test_cursors
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment