Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
google-api-python-client
/
cdf480e8145d58600a5224efc68ba2ace973ef62
/
tests
/
test_json_model.py
9f7b410
fix: drop six dependency (#1452)
by Anthonios Partheniou
· 3 years ago
f706cfd
chore: use nox and release-please; drop 3.4 (#852)
by Bu Sun Kim
· 4 years, 3 months ago
66bb32c
chore: blacken (#772)
by Bu Sun Kim
· 4 years, 9 months ago
07f647c
Pass library and Python version in x-goog-api-client (#734)
by Bu Sun Kim
· 5 years ago
0969915
move logging into __name__-specific loggers from the root logger
by Emmett Butler
· 8 years ago
0915761
Fix unicode issues in HttpError and BatchHttpRequest
by INADA Naoki
· 9 years ago
ca397a7
Encode UTF text only if in Python 2
by Pat Ferate
· 9 years ago
d5b61bd
Updating urllib related imports and usage. (Using six)
by Pat Ferate
· 9 years ago
497a90f
Using unittest2 in place of unittest
by Pat Ferate
· 9 years ago
d898a37
modernize tests
by INADA Naoki
· 9 years ago
15fbdc7
Merge pull request #25 from methane/prepare-py3
by Nathaniel Manista
· 9 years ago
15744b1
Replace remaining python2.4 shebang lines.
by Craig Citro
· 9 years ago
c1505df
2to3 -f except
by INADA Naoki
· 10 years ago
751b7fb
Update copyright lines.
by Craig Citro
· 10 years ago
6ae34d7
Use json from the stdlib.
by Craig Citro
· 10 years ago
864311d
Transition apiclient from googlecode to github.
by John Asmuth
· 10 years ago
5a4c328
Clean up unused params in tests.
by Joe Gregorio
· 11 years ago
c02f563
User-agent must contain (gzip).
by Joe Gregorio
· 11 years ago
a314b1f
Change user-agent to follow library version.
by Joe Gregorio
· 11 years ago
79daca0
Start removing dependence on gflags.
by Joe Gregorio
· 11 years ago
81fde8e
Ensure that dataWrapper feature is checked before using the 'data' value of a
by Ali Afshar
· 12 years ago
20b54fb
More robust picking up JSON error responses.
by Joe Gregorio
· 12 years ago
549230c
Fixes issue #85. Also moves all json imports to go through oauth2client.anyjson. Reviewed in http://codereview.appspot.com/5531064/.
by Joe Gregorio
· 13 years ago
2a5f413
Add support for Protocol Buffers as an API serialization format
by Matt McDonald
· 13 years ago
afdf50b
Added more logging and changed flag name
by Joe Gregorio
· 13 years ago
34044bc
Added LoggingJsonModel and a sample application, debugging/main.py, on how to use it.
by Joe Gregorio
· 13 years ago
e1de416
Clean up imports
by Joe Gregorio
· 13 years ago
61d7e96
Added support for repeating parameters
by Joe Gregorio
· 13 years ago
d433b2a
Now using the dataWrapper features flag to control serialization of JSON requests.
by Joe Gregorio
· 13 years ago
3fada33
Fixed bug with nested resources
by Joe Gregorio
· 14 years ago
d4e1456
Fix some other tests broken by the new HttpError implementation
by Joe Gregorio
· 14 years ago
913e70d
No longer adding in the 'data' wrapper object if it is missing, as some APIs don't use it.
by Joe Gregorio
· 14 years ago
78a508d
Be robust in what you accept, which might be a JSON object w/o an outer wrapper 'data' object.
by Joe Gregorio
· 14 years ago
2379ecc
Switch over to using discovery format v0.2beta1.
by Joe Gregorio
· 14 years ago
8963ff9
Added test of new model where 'data' wrapper isn't added if it isn't necessary. This will allow developers to cut and paste JSON from the developer docs into Python code and it should just work.
by Joe Gregorio
· 14 years ago
c5c5a37
Got test coverage to 97%. Added missing file.
by Joe Gregorio
· 14 years ago
d69e5e4
Added conditional import to ensure tests will work under Python 2.5
by ade@google.com
· 14 years ago
fe695fb
Now correctly using urlencode for query parameters. Also handling unicode by converting to utf-8.
by Joe Gregorio
· 14 years ago
6d5e94f
First pass at adding in pagination
by Joe Gregorio
· 14 years ago
850cf55
Added support for URLs with many parameters e.g. max-liked, max-results and max-comments. I'm not checking in the functional tests I'm using since I still haven't fixed the problem of getting back a usable list of JSON objects for pagination.
by ade@google.com
· 14 years ago
ba9ea7f
Added tests for resources and their methods. Also added tests for the json model.
by Joe Gregorio
· 14 years ago