projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70f0c9
)
Fix tests.
author
Joshua Roesslein
<jroesslein@gmail.com>
Thu, 10 Dec 2009 18:39:45 +0000
(12:39 -0600)
committer
Joshua Roesslein
<jroesslein@gmail.com>
Thu, 10 Dec 2009 18:39:45 +0000
(12:39 -0600)
tests.py
patch
|
blob
|
blame
|
history
diff --git
a/tests.py
b/tests.py
index cdef1d891028cdc32ccbb5ff9c2e6131eafd9627..75c02dca2aec4e6898dc2ebec75c60d76274900a 100644
(file)
--- a/
tests.py
+++ b/
tests.py
@@
-97,7
+97,7
@@
class TweepyAPITests(unittest.TestCase):
def testsendanddestroydirectmessage(self):
# send
- sent_dm = self.api.send_direct_message(username, 'test message')
+ sent_dm = self.api.send_direct_message(username,
text=
'test message')
self.assertEqual(sent_dm.text, 'test message')
self.assertEqual(sent_dm.sender.screen_name, username)
self.assertEqual(sent_dm.recipient.screen_name, username)