for any info/changes follow me: @nickmilon

twtPyCurl.tests.REST module

Created on July 20, 2015

@author: milon

class twtPyCurl.tests.REST.Test(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
tearDown()[source]
exreq(func, check=True, delay=0)[source]

execute a request and optionally check results delay write operations to simulate a human or to give time to twitter to process

check_response(r)[source]
test_01_credentials()[source]
test_rest_quick()[source]

a quick REST API test,

Checks:
  • ability Read Write Delete tweets/retweets
  • read write latency
  • basic http Errors
test_direct_message()[source]