diff options
author | Danny Hermes <daniel.j.hermes@gmail.com> | 2015-08-20 14:05:56 -0700 |
---|---|---|
committer | Danny Hermes <daniel.j.hermes@gmail.com> | 2015-08-21 08:23:07 -0700 |
commit | 28445b98bb81c60189dc73119904b0125ca73cd3 (patch) | |
tree | 2ee4eba0fbb8cfaaa2d2ec468194f9f16683a682 /tests/test_tools.py | |
parent | 22981ac17bcba14f8743f4b852fbe0eb5f1f1c8d (diff) | |
download | oauth2client-28445b98bb81c60189dc73119904b0125ca73cd3.tar.gz |
Making tests/ files pass PEP8.
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
Diffstat (limited to 'tests/test_tools.py')
-rw-r--r-- | tests/test_tools.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_tools.py b/tests/test_tools.py index 6b32e39..0a23216 100644 --- a/tests/test_tools.py +++ b/tests/test_tools.py @@ -13,7 +13,8 @@ class TestClientRedirectServer(unittest.TestCase): # create a ClientRedirectServer and run it in a thread to listen # for a mock GET request with the access token # the server should return a 200 message and store the token - httpd = tools.ClientRedirectServer(('localhost', 0), tools.ClientRedirectHandler) + httpd = tools.ClientRedirectServer(('localhost', 0), + tools.ClientRedirectHandler) code = 'foo' url = 'http://localhost:%i?code=%s' % (httpd.server_address[1], code) t = threading.Thread(target=httpd.handle_request) |