Test fix.
authorJosh Roesslein <jroesslein@gmail.com>
Thu, 15 Oct 2009 17:57:46 +0000 (12:57 -0500)
committerJosh Roesslein <jroesslein@gmail.com>
Thu, 15 Oct 2009 17:57:46 +0000 (12:57 -0500)
tests.py

index e09ce1b3bd3b89a7bcf8184e2b74a2c06b174b77..645d1ec29e8cb292765cf4657962147df6212a36 100644 (file)
--- 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')