Commit 2cce8511 authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Fix tests.

parent a70f0c97
......@@ -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)
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