Skip to content

Commit

Permalink
Add no cover for method who cannot be tested
Browse files Browse the repository at this point in the history
  • Loading branch information
algorys committed Oct 13, 2016
1 parent 9fa5813 commit 96d9e08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions alignak_app/app_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def build_menu(self, menu):

menu.show_all()

def open_url(self, item):
def open_url(self, item): # pragma: no cover
"""
Add a link to WebUI on every menu
Expand Down Expand Up @@ -179,7 +179,7 @@ def open_url(self, item):
webbrowser.open(webui_url + endurl)

@staticmethod
def quit_app(item):
def quit_app(item): # pragma: no cover
"""
Quit application
Expand Down
4 changes: 2 additions & 2 deletions alignak_app/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def main(self):
indicator = self.set_indicator()
indicator.set_menu(self.create_menu())

def read_configuration(self):
def read_configuration(self): # pragma: no cover
"""
Read the configuration file.
Expand Down Expand Up @@ -140,7 +140,7 @@ def create_menu(self):

return menu

def start_process(self):
def start_process(self): # pragma: no cover
"""
Start process loop.
Expand Down

0 comments on commit 96d9e08

Please sign in to comment.