Skip to content

Commit

Permalink
test(saltcheck): add test for service.available
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Oct 15, 2019
1 parent baab964 commit 226eb88
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cron/saltcheck-tests/service.tst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
{%- set service_function = 'enabled' %}
{%- endif %}

verify_cron.service:
verify_cron.service_available:
module_and_function: service.available
args:
- {{ cron.service }}
assertion: assertTrue

verify_cron.service_{{ service_function }}:
module_and_function: service.{{ service_function }}
args:
- {{ cron.service }}
Expand Down

0 comments on commit 226eb88

Please sign in to comment.