mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix another test using __opts__
This commit is contained in:
parent
ee069a155b
commit
f3ab61b069
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ import salt.modules.file as file
|
|||
import salt.modules.gpg as gpg
|
||||
import salt.utils.files
|
||||
import salt.utils.stringutils
|
||||
from salt.loader.dunder import __opts__
|
||||
from tests.support.mock import Mock, patch
|
||||
|
||||
pytestmark = [
|
||||
|
@ -76,7 +77,7 @@ def configure_loader_modules(minion_opts):
|
|||
},
|
||||
gpg: {},
|
||||
cp: {
|
||||
"__opts__": minion_opts,
|
||||
"__opts__": __opts__.with_default(minion_opts),
|
||||
},
|
||||
config: {
|
||||
"__opts__": minion_opts,
|
||||
|
|
Loading…
Add table
Reference in a new issue