Conversation
a18411f to
c0b0484
Compare
|
|
||
| __all__ = [ | ||
| 'Credentials' | ||
| ] |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
|
|
||
| __all__ = [ | ||
| 'Credentials' |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| # pylint: disable=attribute-defined-outside-init | ||
| # (pylint doesn't recognize that this is defined in ScopedCredentials) | ||
| self._scopes = _helpers.string_to_scopes(info['scopes']) | ||
| # pylint: enable=attribute-defined-outside-init |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| from google.auth.compute_engine import credentials | ||
|
|
||
|
|
||
| class TestCredentials: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| class TestCredentials: | ||
| @pytest.fixture(autouse=True) | ||
| def credentials(self): | ||
| self.credentials = credentials.Credentials() |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| assert not self.credentials.requires_scopes | ||
|
|
||
| def test_create_scoped_fails(self): | ||
| pass |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| class TestCredentials(object): | ||
| @pytest.fixture(autouse=True) | ||
| def credentials(self): | ||
| self.credentials = credentials.Credentials() |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
LGTM (after resolving the |
No description provided.