From 2cce8511dfd8d25922715d56c982984c3e316262 Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Thu, 10 Dec 2009 12:39:45 -0600 Subject: [PATCH] Fix tests. --- tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1