Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Use transport.request in tests. #607

Merged
merged 1 commit into from
Aug 11, 2016

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Aug 10, 2016

In the process

  • "spring clean" the modules that were touched
  • use HttpMock when HttpMockSequence not needed
  • add some verifications on new HttpMock's

import unittest2

from oauth2client import _helpers
from oauth2client import client
from oauth2client import crypt
from oauth2client import file
from oauth2client import file as file_mod

This comment was marked as spam.

@nathanielmanistaatgoogle
Copy link
Contributor

Looks nearly good to me.

In the process

- "spring clean" the modules that were touched
- use HttpMock when HttpMockSequence not needed
- add some verifications on new HttpMock's
import unittest2

from oauth2client import _helpers
from oauth2client import client
from oauth2client import file
from .http_mock import HttpMockSequence
from oauth2client import file as file_mod

This comment was marked as spam.

@dhermes dhermes force-pushed the use-transport-request-in-tests branch from 930149b to 1a0c4db Compare August 11, 2016 15:44
@dhermes dhermes merged commit c6b70bd into googleapis:master Aug 11, 2016
@dhermes dhermes deleted the use-transport-request-in-tests branch August 11, 2016 16:08
@dhermes
Copy link
Contributor Author

dhermes commented Aug 11, 2016

@nathanielmanistaatgoogle I made your file_mod -> file_module change and tests passed so I merged. If your "nearly LGTM" didn't become "LGTM" after that change, my bad for the merge (I made an assumption).

@nathanielmanistaatgoogle
Copy link
Contributor

We're all good here. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants