Permalink
Browse files

Exclude test_ files from coverage tests

  • Loading branch information...
1 parent 8fec099 commit 5a6627644beff1466711b19725cc38b5eff5ac11 @simoncadman committed Dec 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 .coveragerc
  2. +1 −1 auth.py
View
@@ -1,2 +1,2 @@
[run]
-omit = oauth2client/*,tests/*
+omit = oauth2client/*,test_*
View
@@ -88,7 +88,7 @@ def SetupAuth(interactive=False):
['https://www.googleapis.com/auth/cloudprint'])
credentials = storage.get()
- if not credentials and interactive:
+ if not credentials and interactive: # pragma: no cover
credentials = Auth.AddAccount(storage, userid)
modifiedconfig = True
if userid == None:

0 comments on commit 5a66276

Please sign in to comment.