diff --git a/tests/pytests/unit/modules/napalm/test_network.py b/tests/pytests/unit/modules/napalm/test_network.py index 24f0d58d6c4..aab56e57c18 100644 --- a/tests/pytests/unit/modules/napalm/test_network.py +++ b/tests/pytests/unit/modules/napalm/test_network.py @@ -1,5 +1,5 @@ """ - :codeauthor: Anthony Shaw +:codeauthor: Anthony Shaw """ import pytest @@ -20,7 +20,7 @@ def configure_loader_modules(): "file.join": napalm_test_support.join, "file.get_managed": napalm_test_support.get_managed_file, "random.hash": napalm_test_support.random_hash, - "file.apply_template_on_contents": MagicMock() + "file.apply_template_on_contents": MagicMock(), } } @@ -190,6 +190,7 @@ def test_load_template(): ret = napalm_network.load_template(template_source="ntp server 192.168.0.1") assert ret["out"] is None + def test_commit(): with patch( "salt.utils.napalm.get_device",