From dfdb2aff4887fa7ce29e2141a8fc28f32e642865 Mon Sep 17 00:00:00 2001 From: David Murphy Date: Tue, 6 Jun 2023 10:12:31 -0600 Subject: [PATCH] Update tests/pytests/unit/modules/test_network.py Co-authored-by: Pedro Algarvio --- tests/pytests/unit/modules/test_network.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/pytests/unit/modules/test_network.py b/tests/pytests/unit/modules/test_network.py index 83d5815ec2a..ee7e7e80a85 100644 --- a/tests/pytests/unit/modules/test_network.py +++ b/tests/pytests/unit/modules/test_network.py @@ -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},