Skip to content

Commit db6cc6d

Browse files
author
j.s@google.com
committed
Adding new modules to tests and the manifest.
1 parent fe8f452 commit db6cc6d

6 files changed

Lines changed: 20 additions & 129 deletions

File tree

MANIFEST

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,16 @@ src/gdata/geo/__init__.py
6464
src/gdata/health/__init__.py
6565
src/gdata/health/service.py
6666
src/gdata/media/__init__.py
67+
src/gdata/maps/__init__.py
68+
src/gdata/maps/client.py
69+
src/gdata/maps/data.py
6770
src/gdata/photos/__init__.py
6871
src/gdata/photos/service.py
6972
src/gdata/spreadsheet/__init__.py
7073
src/gdata/spreadsheet/service.py
7174
src/gdata/spreadsheet/text_db.py
75+
src/gdata/spreadsheets/__init__.py
76+
src/gdata/spreadsheets/data.py
7277
src/gdata/webmastertools/__init__.py
7378
src/gdata/webmastertools/service.py
7479
src/gdata/youtube/__init__.py
@@ -192,6 +197,7 @@ samples/contacts/contacts_example.py
192197
samples/docs/docs_example.py
193198
samples/finance/test_finance.py
194199
samples/mashups/birthdaySample.py
200+
samples/maps/MapsExample.py
195201
samples/spreadsheets/spreadsheetExample.py
196202
samples/webmastertools/AddDeleteExampleDotCom.py
197203
samples/webmastertools/SitemapsFeedSummary.py
@@ -305,11 +311,17 @@ tests/gdata_tests/docs/test.doc
305311
tests/gdata_tests/docs/test.csv
306312
tests/gdata_tests/health/__init__.py
307313
tests/gdata_tests/health/service_test.py
314+
tests/gdata_tests/maps/__init__.py
315+
tests/gdata_tests/maps/data_test.py
316+
tests/gdata_tests/maps/live_client_test.py
308317
tests/gdata_tests/photos/__init__.py
309318
tests/gdata_tests/photos/service_test.py
319+
tests/gdata_tests/sample_util_test.py
310320
tests/gdata_tests/spreadsheet/__init__.py
311321
tests/gdata_tests/spreadsheet/service_test.py
312322
tests/gdata_tests/spreadsheet/text_db_test.py
323+
tests/gdata_tests/spreadsheets/__init__.py
324+
tests/gdata_tests/spreadsheets/data_test.py
313325
tests/gdata_tests/youtube/__init__.py
314326
tests/gdata_tests/youtube/service_test.py
315327
pydocs/atom.auth.html

src/gdata/experimental_oauth.py

Lines changed: 0 additions & 124 deletions
This file was deleted.

src/gdata/spreadsheets/data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class ColCount(atom.core.XmlElement):
7777
class Field(atom.core.XmlElement):
7878
"""The gs:field element.
7979
80-
A field—a single cell within a record. Contained in an <atom:entry>.
80+
A field single cell within a record. Contained in an <atom:entry>.
8181
"""
8282
_qname = GS_TEMPLATE % 'field'
8383
index = 'index'
@@ -158,8 +158,8 @@ class Table(gdata.data.GDEntry):
158158
"""An Atom entry that represents a subsection of a worksheet.
159159
160160
A table allows you to treat part or all of a worksheet somewhat like a
161-
table in a databasethat is, as a set of structured data items. Tables
162-
don't exist until you explicitly create thembefore you can use a table
161+
table in a database that is, as a set of structured data items. Tables
162+
don't exist until you explicitly create them before you can use a table
163163
feed, you have to explicitly define where the table data comes from.
164164
"""
165165
data = Data

tests/all_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import gdata_tests.blogger.live_client_test
3838
import gdata_tests.maps.data_test
3939
import gdata_tests.maps.live_client_test
40+
import gdata_tests.spreadsheets.data_test
4041
# Compatibility tests for requests to v1 feeds.
4142
import gdata_tests.contacts.service_test
4243
# Tests for v1 classes.
@@ -67,6 +68,7 @@ def suite():
6768
gdata_tests.contacts.service_test.suite(),
6869
gdata_tests.maps.data_test.suite(),
6970
gdata_tests.maps.live_client_test.suite(),
71+
gdata_tests.spreadsheets.data_test.suite(),
7072
atom_test.suite(), gdata_test.suite(),
7173
atom_tests.service_test.suite(),
7274
atom_tests.auth_test.suite(),

tests/all_tests_coverage.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
import gdata.blogger.client
3737
import gdata.maps.data
3838
import gdata.maps.client
39+
import gdata.spreadsheets.data
3940
from gdata.test_config import settings
4041

4142

@@ -56,4 +57,4 @@ def suite():
5657
coverage.report([atom.core, atom.http_core, atom.auth, atom.data,
5758
atom.mock_http_core, atom.client, gdata.gauth, gdata.client,
5859
gdata.data, gdata.blogger.data, gdata.blogger.client,
59-
gdata.maps.data, gdata.maps.client])
60+
gdata.maps.data, gdata.maps.client, gdata.spreadsheets.data])

tests/gdata_tests/spreadsheets/data_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def test_check_parsing(self):
574574
'/k/w/private/full/rowId')
575575
self.assertEqual(row.updated.text, '2006-11-17T18:23:45.173Z')
576576
self.assertEqual(row.content.text, 'Hours: 10, Items: 2, IPM: 0.0033')
577-
577+
578578

579579
class DataClassSanityTest(unittest.TestCase):
580580

0 commit comments

Comments
 (0)