rpms/python-twitter/F-8 python-twitter-0.5-fixjsontests.patch, NONE, 1.1 sources, 1.1, 1.2

Tom Callaway spot at fedoraproject.org
Thu Nov 20 19:10:03 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/python-twitter/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18692/F-8

Modified Files:
	sources 
Added Files:
	python-twitter-0.5-fixjsontests.patch 
Log Message:
initial branching

python-twitter-0.5-fixjsontests.patch:

--- NEW FILE python-twitter-0.5-fixjsontests.patch ---
diff -up python-twitter-0.5/twitter_test.py.BAD python-twitter-0.5/twitter_test.py
--- python-twitter-0.5/twitter_test.py.BAD	2008-10-20 15:02:40.000000000 -0400
+++ python-twitter-0.5/twitter_test.py	2008-10-20 15:04:53.000000000 -0400
@@ -17,7 +17,7 @@ import twitter
 
 class StatusTest(unittest.TestCase):
 
-  SAMPLE_JSON = '''{"created_at": "Fri Jan 26 23:17:14 +0000 2007", "id": 4391023, "text": "A l\u00e9gp\u00e1rn\u00e1s haj\u00f3m tele van angoln\u00e1kkal.", "user": {"description": "Canvas. JC Penny. Three ninety-eight.", "id": 718443, "location": "Okinawa, Japan", "name": "Kesuke Miyagi", "profile_image_url": "http:\/\/twitter.com\/system\/user\/profile_image\/718443\/normal\/kesuke.png", "screen_name": "kesuke", "url": "http:\/\/twitter.com\/kesuke"}}'''
+  SAMPLE_JSON = '''{"created_at": "Fri Jan 26 23:17:14 +0000 2007", "id": 4391023, "text": "A l\u00e9gp\u00e1rn\u00e1s haj\u00f3m tele van angoln\u00e1kkal.", "user": {"description": "Canvas. JC Penny. Three ninety-eight.", "id": 718443, "location": "Okinawa, Japan", "name": "Kesuke Miyagi", "profile_image_url": "http://twitter.com/system/user/profile_image/718443/normal/kesuke.png", "screen_name": "kesuke", "url": "http://twitter.com/kesuke"}}'''
 
   def _GetSampleUser(self):
     return twitter.User(id=718443,
@@ -146,7 +146,7 @@ class StatusTest(unittest.TestCase):
 
 class UserTest(unittest.TestCase):
 
-  SAMPLE_JSON = '''{"description": "Indeterminate things", "id": 673483, "location": "San Francisco, CA", "name": "DeWitt", "profile_image_url": "http:\/\/twitter.com\/system\/user\/profile_image\/673483\/normal\/me.jpg", "screen_name": "dewitt", "status": {"created_at": "Fri Jan 26 17:28:19 +0000 2007", "id": 4212713, "text": "\\"Select all\\" and archive your Gmail inbox.  The page loads so much faster!"}, "url": "http:\/\/unto.net\/"}'''
+  SAMPLE_JSON = '''{"description": "Indeterminate things", "id": 673483, "location": "San Francisco, CA", "name": "DeWitt", "profile_image_url": "http://twitter.com/system/user/profile_image/673483/normal/me.jpg", "screen_name": "dewitt", "status": {"created_at": "Fri Jan 26 17:28:19 +0000 2007", "id": 4212713, "text": "\\"Select all\\" and archive your Gmail inbox.  The page loads so much faster!"}, "url": "http://unto.net/"}'''
 
   def _GetSampleStatus(self):
     return twitter.Status(created_at='Fri Jan 26 17:28:19 +0000 2007',


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-twitter/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Nov 2008 18:53:37 -0000	1.1
+++ sources	20 Nov 2008 19:09:32 -0000	1.2
@@ -0,0 +1 @@
+d4fe92ca630a7339a064cef8e91af2b9  python-twitter-0.5.tar.gz




More information about the fedora-extras-commits mailing list