summaryrefslogtreecommitdiff
path: root/alot/addressbook/external.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2017-07-09 11:00:30 +0200
committerLucas Hoffmann <l-m-h@web.de>2017-07-17 23:44:29 +0200
commite7812a7cbc99c810a951679ef1b61b1368a9cdf0 (patch)
tree89268bbec73da4b8384f1d4624f1def27a0faad8 /alot/addressbook/external.py
parentf1381610c2ec5547ac236aba0fba79d785ece509 (diff)
Exclude two methods from coverage report
One is an abstract method anyways and the other one is trivial. It just calls two other functions that are already covered by tests. This results in 100% test coverage for alot/addressbook/*.
Diffstat (limited to 'alot/addressbook/external.py')
-rw-r--r--alot/addressbook/external.py2
1 files changed, 1 insertions, 1 deletions
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: