()
| 129 | subprocess.call(cmd, shell=True) |
| 130 | |
| 131 | def twitter_api(): |
| 132 | return twitter.Api( |
| 133 | consumer_key=TWITTER_CONSUMER_KEY, |
| 134 | consumer_secret=TWITTER_CONSUMER_SECRET, |
| 135 | access_token_key=TWITTER_ACCESS_TOKEN_KEY, |
| 136 | access_token_secret=TWITTER_ACCESS_TOKEN_SECRET) |
| 137 | |
| 138 | def tweet(status, media, in_reply_to_status_id=None): |
| 139 | api = twitter_api() |
no outgoing calls
no test coverage detected
searching dependent graphs…