Skip to content

Commit

Permalink
Commit review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb authored and s0undt3ch committed Dec 26, 2023
1 parent 093574d commit 09e0933
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/saltext/cli/project/requirements/tests.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest >= 6.1.0
pytest-salt-factories >= 1.0.0rc19
pytest >= 7.2.0
pytest-salt-factories >= 1.0.0rc28
5 changes: 5 additions & 0 deletions src/saltext/cli/project/tests/unit/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

import pytest
import salt.config

Expand All @@ -17,6 +19,7 @@ def minion_opts(tmp_path):
dirpath.mkdir(parents=True)
opts[name] = str(dirpath)
opts["log_file"] = "logs/minion.log"
opts["conf_file"] = os.path.join(opts["conf_dir"], "minion")
return opts


Expand All @@ -35,6 +38,7 @@ def master_opts(tmp_path):
dirpath.mkdir(parents=True)
opts[name] = str(dirpath)
opts["log_file"] = "logs/master.log"
opts["conf_file"] = os.path.join(opts["conf_dir"], "master")
return opts


Expand All @@ -54,4 +58,5 @@ def syndic_opts(tmp_path):
dirpath.mkdir(parents=True)
opts[name] = str(dirpath)
opts["log_file"] = "logs/syndic.log"
opts["conf_file"] = os.path.join(opts["conf_dir"], "syndic")
return opts

0 comments on commit 09e0933

Please sign in to comment.