From: Joshua Roesslein Date: Thu, 10 Dec 2009 18:39:45 +0000 (-0600) Subject: Fix tests. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2cce8511dfd8d25922715d56c982984c3e316262;p=tweepy.git Fix tests. --- diff --git a/tests.py b/tests.py index cdef1d8..75c02dc 100644 --- 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)