aboutsummaryrefslogtreecommitdiff
path: root/tests/test_tools.py
AgeCommit message (Collapse)Author
2016-08-11Drop unittest2 dependencyDanny Hermes
No longer needed since Python 2.6 support has been dropped.
2016-07-27Update imports to only Packages or ModulesPat Ferate
Also cleaned up some nested attribute access.
2016-07-19Update string formatters to new stylePat Ferate
Changing `%` style string formatters to `.format()`. Leaving `logging` strings in old style for Python 2 compatibility. Resolves: Issue #541
2016-07-11Check for Google import order style in flake8Pat Ferate
2016-07-08Clean up whitespacePat Ferate
2016-07-08Remove unused local variable assignmentPat Ferate
Fixed flake8 F841 errors: local variable is assigned to but never used.
2016-07-06Use context manager for assertRaises (#537)Pat Ferate
* Use context manager for assertRaises, fixes #536. * Update usage of unittest to unittest2. * Remove unneeded `if __name__ == '__main__':` clauses in test files.
2016-03-16100% coverage for oauth2client.toolsJon Wayne Parrott
2015-09-21Adding no-cover pragmas to unittest.main().Danny Hermes
This is so we get 100% line coverage in our tests. Also adding unittest.main() lines to the files missing it: test__helpers.py test__pycrypto_crypt.py test_crypt.py test_devshell.py test_gce.py test_keyring_storage.py test_service_account.py test_util.py
2015-08-21Making tests/ files pass PEP8.Danny Hermes
This is all errors except E402: module level import not at top of file. This is because in most (all?) files the __author__ global comes before imports begin. Ref: http://stackoverflow.com/a/24859703/1068170
2015-08-21Raw pep8ify changes.Danny Hermes
Simply ran pep8ify -w oauth2client/ pep8ify -w tests/
2015-02-01added test file for tools module containing a test for the ↵KCs
ClientRedirectServer and ClientRedirect classes