EEEEEEEEEEEEEEEEEE........................
ERROR: testCreateFriendship (main.ApiTest)
Test the twitter.Api CreateFriendship method
Traceback (most recent call last):
File "twitter_test.py", line 496, in testCreateFriendship
user = self._api.CreateFriendship('dewitt')
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3350, in CreateFriendship
json = self._FetchUrl(url, post_data={'user': user})
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/friendship-create.json'
ERROR: testDestroyDirectMessage (main.ApiTest)
Test the twitter.Api DestroyDirectMessage method
Traceback (most recent call last):
File "twitter_test.py", line 488, in testDestroyDirectMessage
status = self._api.DestroyDirectMessage(3496342)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3335, in DestroyDirectMessage
json = self._FetchUrl(url, post_data={'id': id})
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/direct_message-destroy.json'
ERROR: testDestroyFriendship (main.ApiTest)
Test the twitter.Api DestroyFriendship method
Traceback (most recent call last):
File "twitter_test.py", line 504, in testDestroyFriendship
user = self._api.DestroyFriendship('dewitt')
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3365, in DestroyFriendship
json = self._FetchUrl(url, post_data={'user': user})
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/friendship-destroy.json'
ERROR: testDestroyStatus (main.ApiTest)
Test the twitter.Api DestroyStatus method
Traceback (most recent call last):
File "twitter_test.py", line 407, in testDestroyStatus
status = self._api.DestroyStatus(103208352)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 2775, in DestroyStatus
json = self._FetchUrl(url, post_data={'id': id})
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/status-destroy.json'
ERROR: testGetDirectMessages (main.ApiTest)
Test the twitter.Api GetDirectMessages method
Traceback (most recent call last):
File "twitter_test.py", line 473, in testGetDirectMessages
statuses = self._api.GetDirectMessages(page=1)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3261, in GetDirectMessages
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/direct_messages.json'
ERROR: testGetFeatured (main.ApiTest)
Test the twitter.Api GetFeatured method
Traceback (most recent call last):
File "twitter_test.py", line 464, in testGetFeatured
users = self._api.GetFeatured()
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3158, in GetFeatured
json = self._FetchUrl(url)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/featured.json'
ERROR: testGetFollowers (main.ApiTest)
Test the twitter.Api GetFollowers method
Traceback (most recent call last):
File "twitter_test.py", line 455, in testGetFollowers
users = self._api.GetFollowers()
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3137, in GetFollowers
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/followers.json'
ERROR: testGetFriends (main.ApiTest)
Test the twitter.Api GetFriends method
Traceback (most recent call last):
File "twitter_test.py", line 447, in testGetFriends
users = self._api.GetFriends(cursor=123)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3052, in GetFriends
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/friends.json'
ERROR: testGetFriendsTimeline (main.ApiTest)
Test the twitter.Api GetFriendsTimeline method
Traceback (most recent call last):
File "twitter_test.py", line 390, in testGetFriendsTimeline
statuses = self._api.GetFriendsTimeline('kesuke')
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 2601, in GetFriendsTimeline
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/friends_timeline-kesuke.json'
ERROR: testGetReplies (main.ApiTest)
Test the twitter.Api GetReplies method
Traceback (most recent call last):
File "twitter_test.py", line 433, in testGetReplies
statuses = self._api.GetReplies(page=1)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 2955, in GetReplies
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/replies.json'
ERROR: testGetRetweetsOfMe (main.ApiTest)
Test the twitter.API GetRetweetsOfMe method
Traceback (most recent call last):
File "twitter_test.py", line 440, in testGetRetweetsOfMe
retweets = self._api.GetRetweetsOfMe()
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3025, in GetRetweetsOfMe
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/retweets_of_me.json'
ERROR: testGetStatus (main.ApiTest)
Test the twitter.Api GetStatus method
Traceback (most recent call last):
File "twitter_test.py", line 399, in testGetStatus
status = self._api.GetStatus(89512102)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 2752, in GetStatus
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/show-89512102.json'
ERROR: testGetUser (main.ApiTest)
Test the twitter.Api GetUser method
Traceback (most recent call last):
File "twitter_test.py", line 512, in testGetUser
user = self._api.GetUser('dewitt')
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3225, in GetUser
json = self._FetchUrl(url)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/show-dewitt.json'
ERROR: testGetUserTimeline (main.ApiTest)
Test the twitter.Api GetUserTimeline method
Traceback (most recent call last):
File "twitter_test.py", line 381, in testGetUserTimeline
statuses = self._api.GetUserTimeline('kesuke', count=1)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 2720, in GetUserTimeline
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/user_timeline-kesuke.json'
ERROR: testPostDirectMessage (main.ApiTest)
Test the twitter.Api PostDirectMessage method
Traceback (most recent call last):
File "twitter_test.py", line 480, in testPostDirectMessage
status = self._api.PostDirectMessage('test', u'Моё судно на воздушной подушке полно угрей'.encode('utf8'))
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3317, in PostDirectMessage
json = self._FetchUrl(url, post_data=data)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/direct_messages-new.json'
ERROR: testPostUpdate (main.ApiTest)
Test the twitter.Api PostUpdate method
Traceback (most recent call last):
File "twitter_test.py", line 414, in testPostUpdate
status = self._api.PostUpdate(u'Моё судно на воздушной подушке полно угрей'.encode('utf8'))
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 2837, in PostUpdate
json = self._FetchUrl(url, post_data=data)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/update.json'
ERROR: testPostUpdateLatLon (main.ApiTest)
Test the twitter.Api PostUpdate method, when used in conjunction with latitude and longitude
Traceback (most recent call last):
File "twitter_test.py", line 423, in testPostUpdateLatLon
status = self._api.PostUpdate(u'Моё судно на воздушной подушке полно угрей'.encode('utf8'), latitude=54.2, longitude=-2)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 2837, in PostUpdate
json = self._FetchUrl(url, post_data=data)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/update_latlong.json'
ERROR: testTwitterError (main.ApiTest)
Test that twitter responses containing an error message are wrapped.
Traceback (most recent call last):
File "twitter_test.py", line 370, in testTwitterError
statuses = self._api.GetUserTimeline()
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 2720, in GetUserTimeline
json = self._FetchUrl(url, parameters=parameters)
File "/home/steven/Downloads/python-twitter-0.8.5/twitter.py", line 3992, in _FetchUrl
response = opener.open(url, encoded_post_data)
File "twitter_test.py", line 581, in open
return self.handlersurl
File "twitter_test.py", line 614, in call
return self.fun((self.pending + args), *_kw)
File "twitter_test.py", line 525, in _OpenTestData
f = open(self._GetTestDataPath(filename))
IOError: [Errno 2] No such file or directory: '/home/steven/Downloads/python-twitter-0.8.5/testdata/public_timeline_error.json'
Ran 42 tests in 0.055s
FAILED (errors=18)
steven@math:~/Downloads/python-twitter-0.8.5$