class AutoLoadTest(TestCase): def setUp(self): self.autoload = AutoLoad(ip=ip, community=ro_community) def testAutoload(self):\ print self.autoload.entPhysicalTable print self.autoload.ifTable hierarchy = self.autoload.get_hierarchy() print hierarchy mapping = self.autoload.get_mapping() print mapping pass
def setUp(self): self.autoload = AutoLoad(ip=ip, community=ro_community)