Skip to content

Commit

Permalink
fix(saltcheck): fix broken import and standardise across test files
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Oct 15, 2019
1 parent 9847aff commit 7911b71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion cron/saltcheck-tests/config.tst
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{%- from "cron/map.jinja" import cron_settings with context %}
# -*- coding: utf-8 -*-
# vim: ft=sls

{%- from "cron/map.jinja" import cron_settings with context %}

{%- if 'tasks' in cron_settings %}
{%- for task,task_options in cron_settings.tasks.items() %}
Expand Down
4 changes: 3 additions & 1 deletion cron/saltcheck-tests/install.tst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
# vim: ft=sls

m "cron/map.jinja" import cron_settings with context %}
{%- from "cron/map.jinja" import cron_settings with context %}

verify_cron.install:
module_and_function: pkg.version
Expand Down

0 comments on commit 7911b71

Please sign in to comment.