Skip to content

Conversation

@theacodes
Copy link
Contributor

No description provided.

@theacodes theacodes added this to the 1.0.0 milestone Oct 14, 2016
@theacodes theacodes force-pushed the compute-credentials branch from a18411f to c0b0484 Compare October 14, 2016 21:32

__all__ = [
'Credentials'
]

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.



__all__ = [
'Credentials'

This comment was marked as spam.

This comment was marked as spam.

# 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.

from google.auth.compute_engine import credentials


class TestCredentials:

This comment was marked as spam.

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.

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.

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.

@dhermes
Copy link
Contributor

dhermes commented Oct 16, 2016

LGTM (after resolving the def credentials rename and whatever you decide on __all__)

@theacodes theacodes merged commit a042549 into master Oct 17, 2016
@theacodes theacodes deleted the compute-credentials branch October 17, 2016 17:48
@theacodes theacodes mentioned this pull request Oct 21, 2016
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants