-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a majority of pep8 errors in gcloud.
- Loading branch information
Kevin Leyow
authored and
Kevin Leyow
committed
Sep 28, 2014
1 parent
1095168
commit f4902a8
Showing
30 changed files
with
383 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,3 @@ def http(self): | |
if self._credentials: | ||
self._http = self._credentials.authorize(self._http) | ||
return self._http | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import unittest2 | ||
|
||
|
||
class Test_get_connection(unittest2.TestCase): | ||
|
||
def _callFUT(self, client_email, private_key_path): | ||
|
@@ -13,6 +14,7 @@ def test_it(self): | |
from gcloud.datastore.connection import Connection | ||
from gcloud.test_credentials import _Client | ||
from gcloud.test_credentials import _Monkey | ||
|
||
CLIENT_EMAIL = '[email protected]' | ||
PRIVATE_KEY = 'SEEkR1t' | ||
client = _Client() | ||
|
@@ -26,8 +28,8 @@ def test_it(self): | |
self.assertEqual(client._called_with, | ||
{'service_account_name': CLIENT_EMAIL, | ||
'private_key': PRIVATE_KEY, | ||
'scope': SCOPE, | ||
}) | ||
'scope': SCOPE, }) | ||
|
||
|
||
class Test_get_dataset(unittest2.TestCase): | ||
|
||
|
@@ -43,6 +45,7 @@ def test_it(self): | |
from gcloud.datastore.dataset import Dataset | ||
from gcloud.test_credentials import _Client | ||
from gcloud.test_credentials import _Monkey | ||
|
||
CLIENT_EMAIL = '[email protected]' | ||
PRIVATE_KEY = 'SEEkR1t' | ||
DATASET_ID = 'DATASET' | ||
|
@@ -58,5 +61,4 @@ def test_it(self): | |
self.assertEqual(client._called_with, | ||
{'service_account_name': CLIENT_EMAIL, | ||
'private_key': PRIVATE_KEY, | ||
'scope': SCOPE, | ||
}) | ||
'scope': SCOPE, }) |
Oops, something went wrong.