GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 3517e54c authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Remove twitter test that requires auth

Removes tests that require access to secrets.
parent c1672a3f
......@@ -18,12 +18,6 @@ class TwitterTests(unittest.TestCase):
print("tearDown()")
def test_load_messages(self):
data = self.tw_client.twitter_data()
print(data)
assert data['events']
def test_parse_tweet(self):
e = {'type': 'message_create', 'id': '1178649287208689669', 'created_timestamp': '1569846862972', 'message_create': {'target': {'recipient_id': '2514714800'}, 'sender_id': '1467062174', 'message_data': {'text': 'windows 10', 'entities': {'hashtags': [], 'symbols': [], 'user_mentions': [], 'urls': []}}}}
message_id = { 'id': e['id'], 'twitter_handle': e['message_create']['sender_id'] }
......
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