def test_get_name_from_dn(self): """ Test that ConcreteCdp._get_name_from_dn returns the name derived from the dn provided """ dn = 'topology/pod-1/node-103/sys/cdp/inst' self.assertEquals(ConcreteCdp._get_name_from_dn(dn), '')
def test_get_name_from_dn(self): """ Test that ConcreteCdp._get_name_from_dn returns the name derived from the dn provided """ dn = 'topology/pod-1/node-103/sys/cdp/inst' self.assertEquals(ConcreteCdp._get_name_from_dn(dn), '')