Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compute engine credentials #22

Merged
merged 3 commits into from
Oct 17, 2016
Merged

Add compute engine credentials #22

merged 3 commits into from
Oct 17, 2016

Conversation

theacodes
Copy link
Contributor

No description provided.

@theacodes theacodes added this to the 1.0.0 milestone Oct 14, 2016

__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