diff options
author | db <db@leap.se> | 2014-03-06 10:53:54 -0300 |
---|---|---|
committer | db <db@leap.se> | 2014-03-07 14:13:30 -0300 |
commit | 453f5e91593c8fcef4a330016bfb0128ca37c204 (patch) | |
tree | 3af51655155c47be8b302113b8daa0b9dd40506a /test/nagios/webapp_login.py | |
parent | 35b3387b99024a69402cc0d7b5d0dc7fed37a0fa (diff) |
Add script to check if soledad is working (#5239).
Diffstat (limited to 'test/nagios/webapp_login.py')
-rwxr-xr-x | test/nagios/webapp_login.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/nagios/webapp_login.py b/test/nagios/webapp_login.py index afa3edf..1711238 100755 --- a/test/nagios/webapp_login.py +++ b/test/nagios/webapp_login.py @@ -82,4 +82,5 @@ def fail(reason): print '2 webapp_login - CRITICAL - ' + reason exit(2) -run_tests(read_config()) +if __name__ == '__main__': + run_tests(read_config()) |