Skip to content

Commit

Permalink
Fix another test using __opts__
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Sep 16, 2024
1 parent 96bc89f commit 5ee6d3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pytests/functional/modules/test_aptpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
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 = [
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 5ee6d3c

Please sign in to comment.