test(pillar): ensure special is being tested as well

This commit is contained in:
Imran Iqbal
2019-10-16 00:24:32 +01:00
parent 33f344c3ba
commit 951a95980a
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ validate_cron.{{ task }}_exists:
assertion_section: identifier
expected-return: {{ task }}
{%- for section in ['minute', 'hour', 'daymonth', 'month', 'dayweek', 'comment', 'special'] %}
{#- Note: `special` is `spec` in the module #}
{%- for section in ['minute', 'hour', 'daymonth', 'month', 'dayweek', 'comment', 'spec'] %}
{%- if section in task_options %}
validate_cron.{{ task }}_{{ section }}:
module_and_function: cron.get_entry