Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

100% coverage for contrib.appengine #462

Merged
merged 1 commit into from
Mar 17, 2016

Conversation

theacodes
Copy link
Contributor

@dhermes this module and its existing tests are really quite messy, so I'm sorry if these tests seem a bit off.

Towards #212

@theacodes
Copy link
Contributor Author

@dhermes friendly ping on this one.

from oauth2client.contrib.appengine import FlowProperty
from oauth2client.contrib.appengine import (
InvalidClientSecretsError as AppEngineInvalidClientSecretsError)

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Mar 17, 2016

Finished review. Close to LGTM but no cigar.

@theacodes
Copy link
Contributor Author

Everything has been addressed, should be cigar now.

@@ -339,6 +417,27 @@ def setUp(self):
def tearDown(self):
self.testbed.deactivate()

def test_bad_ctor(self):
with self.assertRaises(ValueError):
StorageByKeyName(CredentialsModel, None, None)

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Mar 17, 2016

LGTM

Pretty please file an issue to encapsulate some of the issues / notes you're referring to in the module under test.

theacodes pushed a commit that referenced this pull request Mar 17, 2016
@theacodes theacodes merged commit 1641c80 into googleapis:master Mar 17, 2016
@theacodes theacodes deleted the test-coverage-appengine branch March 17, 2016 06:13
@theacodes theacodes mentioned this pull request Apr 15, 2016
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.

3 participants