forked from googleapis/google-cloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed superflous license from the begining of each file. The
project license is all that is needed. Espectially since the two were not the same license. Fixed a minor problem with message not working properly with setRecipients. It was making a list in a list. Caught the problem with my unit tests. I guess they are good for something. Fixed Issue googleapis#13. Authentication is now expected to be a tuple in all cases. This may develop into something more with isue googleapis#16 that joincamp brought up. I'm exploring the use of OAuth2, but it is quite a different world from what I'm used to. But so was many things before I did projects like this.
- Loading branch information
Toben Archer
committed
Jun 1, 2015
1 parent
345c1e5
commit 4b42d0e
Showing
11 changed files
with
19 additions
and
122 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
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
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 |
---|---|---|
|
@@ -52,8 +52,8 @@ def get(url,auth,params=None): | |
class TestGroup (unittest.TestCase): | ||
|
||
def setUp(self): | ||
self.cons = group.Group('[email protected]','rakete') | ||
self.folds = group.Group('[email protected]','rakete','Engineers') | ||
self.cons = group.Group(('[email protected]','rakete')) | ||
self.folds = group.Group(('[email protected]','rakete'),'Engineers') | ||
|
||
def test_getContacts(self): | ||
#Sanity check | ||
|
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 |
---|---|---|
|
@@ -44,8 +44,8 @@ def get(url,auth,params): | |
class TestInbox (unittest.TestCase): | ||
|
||
def setUp(self): | ||
self.preFetch = inbox.Inbox('[email protected]','pass') | ||
self.JITFetch = inbox.Inbox('[email protected]','pass',getNow=False) | ||
self.preFetch = inbox.Inbox(('[email protected]','pass')) | ||
self.JITFetch = inbox.Inbox(('[email protected]','pass'),getNow=False) | ||
|
||
def test_getMessages(self): | ||
#test to see if they got the messages already, should only work for prefetch | ||
|
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ def get(url,**params): | |
class TestSchedule (unittest.TestCase): | ||
|
||
def setUp(self): | ||
self.val = schedule.Schedule('[email protected]','pass') | ||
self.val = schedule.Schedule(('[email protected]','pass')) | ||
|
||
def test_getCalendar(self): | ||
self.val.getCalendars() | ||
|