summaryrefslogtreecommitdiff
path: root/alot/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'alot/addressbook')
-rw-r--r--alot/addressbook/__init__.py2
-rw-r--r--alot/addressbook/external.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/alot/addressbook/__init__.py b/alot/addressbook/__init__.py
index f30c7274..17800b33 100644
--- a/alot/addressbook/__init__.py
+++ b/alot/addressbook/__init__.py
@@ -27,7 +27,7 @@ class AddressBook(object):
self.reflags = re.IGNORECASE if ignorecase else 0
@abc.abstractmethod
- def get_contacts(self):
+ def get_contacts(self): # pragma no cover
"""list all contacts tuples in this abook as (name, email) tuples"""
return []
diff --git a/alot/addressbook/external.py b/alot/addressbook/external.py
index 9de86f36..53f1e464 100644
--- a/alot/addressbook/external.py
+++ b/alot/addressbook/external.py
@@ -44,7 +44,7 @@ class ExternalAddressbook(AddressBook):
def get_contacts(self):
return self._call_and_parse(self.commandline)
- def lookup(self, prefix):
+ def lookup(self, prefix): # pragma: no cover
if self.external_filtering:
return self._call_and_parse(self.commandline + " " + prefix)
else: