Skip to content

Commit

Permalink
coverage fine tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Jul 21, 2016
1 parent 9c5be40 commit e4223fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Expand Up @@ -8,3 +8,5 @@ omit =
parts/*
src/*
collective/easyform/tests/*
lib/*
collective/__init__.py
2 changes: 1 addition & 1 deletion collective/easyform/browser/fields.py
Expand Up @@ -34,7 +34,7 @@
import plone.resourceeditor
plone.resourceeditor # avoid PEP 8 warning
HAVE_RESOURCE_EDITOR = True
except ImportError:
except ImportError: # pragma: no cover
HAVE_RESOURCE_EDITOR = False


Expand Down
2 changes: 1 addition & 1 deletion collective/easyform/validators.py
Expand Up @@ -3,7 +3,7 @@
try:
from Products.validation import validation
from Products.validation.validators.BaseValidators import baseValidators
except ImportError:
except ImportError: # pragma: no cover
validation = {}
baseValidators = []

Expand Down

0 comments on commit e4223fa

Please sign in to comment.