Update tests/pytests/unit/modules/test_network.py

Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
David Murphy 2023-06-06 10:12:31 -06:00 committed by Megan Wilhite
parent 096b273fe6
commit dfdb2aff48

View file

@ -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},