From: Josh Roesslein Date: Thu, 15 Oct 2009 17:57:46 +0000 (-0500) Subject: Test fix. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d4a5bda7b407026c7b7eabc5d54263280efaf04e;p=tweepy.git Test fix. --- diff --git a/tests.py b/tests.py index e09ce1b..645d1ec 100644 --- a/tests.py +++ b/tests.py @@ -122,7 +122,7 @@ class TweepyAPITests(unittest.TestCase): def testupdateprofilecolors(self): original = self.api.me() - updated = self.api.update_profile_colors('#000', '#000', '#000', '#000', '#000') + updated = self.api.update_profile_colors('000', '000', '000', '000', '000') # restore colors self.api.update_profile_colors( @@ -133,11 +133,11 @@ class TweepyAPITests(unittest.TestCase): original.profile_sidebar_border_color ) - self.assertEqual(updated.profile_background_color, '#000') - self.assertEqual(updated.profile_text_color, '#000') - self.assertEqual(updated.profile_link_color, '#000') - self.assertEqual(updated.profile_sidebar_fill_color, '#000') - self.assertEqual(updated.profile_sidebar_border_color, '#000') + self.assertEqual(updated.profile_background_color, '000') + self.assertEqual(updated.profile_text_color, '000') + self.assertEqual(updated.profile_link_color, '000') + self.assertEqual(updated.profile_sidebar_fill_color, '000') + self.assertEqual(updated.profile_sidebar_border_color, '000') def testupateprofileimage(self): self.api.update_profile_image('examples/profile.png')