Revert "Fix another test using __opts__"

This reverts commit f3ab61b069.
This commit is contained in:
Pedro Algarvio 2024-04-15 16:24:38 +01:00
parent 8de027e249
commit 88b08f6d8d

View file

@ -13,7 +13,6 @@ 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 = [
@ -77,7 +76,7 @@ def configure_loader_modules(minion_opts):
},
gpg: {},
cp: {
"__opts__": __opts__.with_default(minion_opts),
"__opts__": minion_opts,
},
config: {
"__opts__": minion_opts,