Remove pragma no cover from code

Add exclude_lines in the report section of .coveragerc to ignore
abstract in test coverage

Change-Id: I7863a8ba7e20358fb7cdf3cc7e4d83871a5104ef
This commit is contained in:
Jean-Emile DARTOIS
2015-12-08 15:05:52 +01:00
parent 7c72d6f912
commit 57cecb27f5
15 changed files with 21 additions and 37 deletions

View File

@@ -24,5 +24,4 @@ import six
class BaseDecisionEngineCommand(object):
@abc.abstractmethod
def execute(self):
raise NotImplementedError(
"Should have implemented this") # pragma:no cover
raise NotImplementedError()

View File

@@ -36,4 +36,4 @@ class BaseEventConsumer(object):
@abc.abstractmethod
def execute(self, request_id, context, data):
raise NotImplementedError('Not implemented ...') # pragma:no cover
raise NotImplementedError()