diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2017-07-09 11:00:30 +0200 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2017-07-17 23:44:29 +0200 |
commit | e7812a7cbc99c810a951679ef1b61b1368a9cdf0 (patch) | |
tree | 89268bbec73da4b8384f1d4624f1def27a0faad8 /alot/addressbook/__init__.py | |
parent | f1381610c2ec5547ac236aba0fba79d785ece509 (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/__init__.py')
-rw-r--r-- | alot/addressbook/__init__.py | 2 |
1 files changed, 1 insertions, 1 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 [] |