This is looking good, formatting and test coverage comments below. http://codereview.appspot.com/1505041/diff/1/3 File src/gdata/base/__init__.py (right): http://codereview.appspot.com/1505041/diff/1/3#newcode159 ...
13 years, 10 months ago
(2010-06-07 18:55:16 UTC)
#1
Updated. On 2010/06/07 18:55:16, jcgregorio wrote: > This is looking good, formatting and test coverage ...
13 years, 10 months ago
(2010-06-28 09:18:24 UTC)
#2
Updated.
On 2010/06/07 18:55:16, jcgregorio wrote:
> This is looking good, formatting and test coverage comments below.
>
> http://codereview.appspot.com/1505041/diff/1/3
> File src/gdata/base/__init__.py (right):
>
> http://codereview.appspot.com/1505041/diff/1/3#newcode159
> src/gdata/base/__init__.py:159: if sub.attrib.has_key('type'): sub_type =
> sub.attrib['type']
> Please conform to the surrounding coding style, in this case:
>
> if cond:
> pass
> else:
> pass
>
> http://codereview.appspot.com/1505041/diff/1/2
> File tests/gdata_tests/base/data_test.py (right):
>
> http://codereview.appspot.com/1505041/diff/1/2#newcode71
> tests/gdata_tests/base/data_test.py:71:
> self.assert_(len(attr.item_attributes)==1)
> Should you also have a test that serializes the constructed model back into
XML
> and be sure that the added item attributes are there?
>
> http://codereview.appspot.com/1505041/diff/1/2#newcode82
> tests/gdata_tests/base/data_test.py:82:
> Minor: one blank line between functions, 2 blank lines between class
> definitions.
Issue 1505041: Support access to google base attribute child's of attribute with type like "group"
Created 13 years, 11 months ago by seriy.pr
Modified 8 years, 4 months ago
Reviewers: gdata-python-client-library-contributors_googlegroups.com, jcgregorio
Base URL: http://gdata-python-client.googlecode.com/svn/trunk/
Comments: 3