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.
made a few quick edits to test_cal and test_contact to get them in
line with python3. I also added a script for running all of the tests in python3. u/benmoran56 offered help refactoring the code to get it compatible with python3. With these minor fixes out of the way will leave him with issue googleapis#19, which is mostly fixing of the attachment module and probably it's test script.
- Loading branch information
Toben Archer
committed
Jun 17, 2015
1 parent
2d1f2df
commit f731871
Showing
2 changed files
with
5 additions
and
5 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 |
---|---|---|
|
@@ -48,10 +48,10 @@ def get(url,**params): | |
elif url == t3_url: | ||
ret = Resp(event_rep) | ||
else: | ||
print url | ||
print t1_url | ||
print t2_url | ||
print t3_url | ||
print(url) | ||
print(t1_url) | ||
print(t2_url) | ||
print(t3_url) | ||
raise | ||
if params['auth'][0] != '[email protected]': | ||
raise | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ def json(self): | |
|
||
def delete(url,headers,auth): | ||
if url not in urls: | ||
print url | ||
print(url) | ||
raise BaseException('Url wrong') | ||
if auth[0] != '[email protected]': | ||
raise BaseException('wrong email') | ||
|