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