summaryrefslogtreecommitdiff
path: root/keystoneclient/base.py
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2015-10-21 13:35:53 -0500
committerBrant Knudson <bknudson@us.ibm.com>2015-10-21 13:35:53 -0500
commita8d2bd29347d02298a6a809f6ca52107aae00a4a (patch)
tree95a319987b73ef8a83f5cefe2ec23f1e7f6c350c /keystoneclient/base.py
parent574fad7abb328276396d7d4c2743982bb903078c (diff)
downloadpython-keystoneclient-a8d2bd29347d02298a6a809f6ca52107aae00a4a.tar.gz
Mark abstractmethod bodies with nocover
abstractmethod bodies aren't going to be called by unit tests, so there's no way to get coverage. The code in an abstractmethod body should be marked with "# pragma: no cover" so that they don't show up as missed in the coverage report. Change-Id: I88a7481ab22f2ce1abfd62badc5f5048acc6929f
Diffstat (limited to 'keystoneclient/base.py')
-rw-r--r--keystoneclient/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/base.py b/keystoneclient/base.py
index f19ed84..a03ecee 100644
--- a/keystoneclient/base.py
+++ b/keystoneclient/base.py
@@ -242,7 +242,7 @@ class ManagerWithFind(Manager):
@abc.abstractmethod
def list(self):
- pass
+ pass # pragma: no cover
def find(self, **kwargs):
"""Find a single item with attributes matching ``**kwargs``.