def test_config_changed():
    with patch(
        "salt.utils.napalm.get_device",
        MagicMock(return_value=napalm_test_support.MockNapalmDevice()),
    ):
        ret = napalm_network.config_changed()
        assert ret == (True, "")
Example #2
0
 def test_config_changed(self):
     ret = napalm_network.config_changed()
     assert ret == (True, '')