def test_facts(): with patch( "salt.utils.napalm.get_device", MagicMock(return_value=napalm_test_support.MockNapalmDevice()), ): ret = napalm_network.facts() assert ret["out"] == napalm_test_support.TEST_FACTS.copy()
def test_facts(self): ret = napalm_network.facts() assert ret['out'] == TEST_FACTS
def test_facts(self): ret = napalm_network.facts() assert ret["out"] == napalm_test_support.TEST_FACTS.copy()