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

This commit is contained in:
Imran Iqbal committed 2019-10-16 00:24:32 +01:00
1 parent 33f344c3ba
commit 951a95980a
3 files changed
+8 -3

No files matched your search

+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