Age | Commit message (Collapse) | Author |
|
Migrating test runner from `unittest2`/`nose` to `pytest`.
The pytest runner is also compatible with both unittest and nose tests.
Some of the benefits of PyTest include:
* using plain asserts
* function-based fixtures instead of setUp and tearDown
* no strange camelCase methods
|
|
A new file, `_helpers.py`, was created without realizing that
`utils.py` existed for the same purpose.
Moving all to `_helpers.py`.
|
|
|
|
Both test_appengine.py and test_django_orm.py still fail E402 since
they have some environment fixes during import (e.g.
dev_appserver.fix_sys_path() and changes to django.conf.global_settings)
|
|
Simply ran
pep8ify -w oauth2client/
pep8ify -w tests/
|
|
Reviewed in https://codereview.appspot.com/7628044/.
This only removes the dependency from the core library, a second CL will
update all the samples.
|
|
Reviewed in: https://codereview.appspot.com/6490081/
|
|
|