Skip to content

Commit

Permalink
Injects config.valid_fileproto into the __salt__ mock for win_pkg t…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
lorengordon committed Dec 21, 2019
1 parent 13738d1 commit 5938dce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/modules/test_win_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from tests.support.unit import TestCase, skipIf

# Import Salt Libs
import salt.modules.config as config
import salt.modules.pkg_resource as pkg_resource
import salt.modules.win_pkg as win_pkg
import salt.utils.data
Expand Down Expand Up @@ -54,6 +55,7 @@ def setup_loader_modules(self):
'pkg_resource.parse_targets': pkg_resource.parse_targets,
'pkg_resource.sort_pkglist': pkg_resource.sort_pkglist,
'pkg_resource.stringify': pkg_resource.stringify,
'config.valid_fileproto': config.valid_fileproto,
},
},
pkg_resource: {
Expand Down

0 comments on commit 5938dce

Please sign in to comment.