mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update tests/pytests/unit/modules/test_network.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
parent
096b273fe6
commit
dfdb2aff48
1 changed files with 1 additions and 2 deletions
|
@ -19,9 +19,8 @@ log = logging.getLogger(__name__)
|
|||
@pytest.fixture
|
||||
def configure_loader_modules():
|
||||
## return {networkmod: {}}
|
||||
opts = salt.config.DEFAULT_MINION_OPTS.copy()
|
||||
utils = salt.loader.utils(
|
||||
opts, whitelist=["network", "path", "platform", "stringutils"]
|
||||
minion_opts, whitelist=["network", "path", "platform", "stringutils"]
|
||||
)
|
||||
return {
|
||||
networkmod: {"__utils__": utils},
|
||||
|
|
Loading…
Add table
Reference in a new issue