Skip to content

Commit

Permalink
Add pragma: no cover for function who's needed
Browse files Browse the repository at this point in the history
  • Loading branch information
algorys committed Oct 6, 2016
1 parent 641e9bb commit 3fb482e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alignak_app/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def start_process(self):
check_interval = int(self.config.get('Alignak-App', 'check_interval'))
GLib.timeout_add_seconds(check_interval, self.notify_change)

def notify_change(self):
def notify_change(self): # pragma: no cover
"""
Send a notification if DOWN
Expand Down Expand Up @@ -272,7 +272,7 @@ def get_state(self):
logger.info(services_log)
return hosts_states, services_states

def change_icon(self, state):
def change_icon(self, state): # pragma: no cover
"""
Change icon depending on the hosts / services status
Expand All @@ -299,7 +299,7 @@ def change_icon(self, state):

self.indicator.set_icon(img)

def run(self):
def run(self): # pragma: no cover
"""
Run application. read configuration, create menus and start process.
Expand Down

0 comments on commit 3fb482e

Please sign in to comment.