Skip to content

Commit 35b3767

Browse files
committed
Fixed Spreadsheeets scope and connected failing tests
1 parent aaa11cc commit 35b3767

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

src/gdata/gauth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
'weaver': ( # Health H9 Sandbox
112112
'https://www.google.com/h9/feeds/',),
113113
'wise': ( # Spreadsheets Data API
114-
'https://spreadsheets.google.com/feeds/'),
114+
'https://spreadsheets.google.com/feeds/',),
115115
'sitemaps': ( # Google Webmaster Tools API
116116
'https://www.google.com/webmasters/tools/feeds/',),
117117
'youtube': ( # YouTube API

tests/gdata_tests/gauth_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,10 +649,10 @@ def test_single_service(self):
649649

650650
def test_multiple_services(self):
651651
self.assertEqual(
652-
gdata.gauth.find_scopes_for_services(('jotspot', 'wise')),
653-
['http://sites.google.com/feeds/', 'https://sites.google.com/feeds/',
654-
'https://spreadsheets.google.com/feeds/',
655-
'http://spreadsheets.google.com/feeds/'])
652+
set(gdata.gauth.find_scopes_for_services(('jotspot', 'wise'))),
653+
set(['http://sites.google.com/feeds/',
654+
'https://sites.google.com/feeds/',
655+
'https://spreadsheets.google.com/feeds/']))
656656

657657

658658
def suite():

tests/gdata_tests/spreadsheets/live_client_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
import unittest
2626
import gdata.spreadsheets.client
27-
import gdata.spreadsheets.text_db
2827
import gdata.gauth
2928
import gdata.client
3029
import atom.http_core

0 commit comments

Comments
 (0)