Skip to content

Commit

Permalink
made a few quick edits to test_cal and test_contact to get them in
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/test_cal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit f731871

Please sign in to comment.