def test_arp_table_g01(self): """ arp_table_g01 """ if "json" == ml_system.CFG_TYPE: shutil.copyfile(os.path.join("unittest", "arp_table-g01.json"), os.path.join("running", "arp_table.txt")) if "jcfg" == ml_system.CFG_TYPE: shutil.copyfile(os.path.join("unittest", "arp_table-g01.jcfg"), os.path.join("running", "arp_table.txt")) if "pickle" == ml_system.CFG_TYPE: return self.maxDiff = None e = ml_w_arp_table.get(None, threading.RLock()) self.assertEqual(e, (True, { "hostname": "test.host", "domain-name": "test.domain.org", "arp_table-server-1": "", "arp_table-server-2": "9.8.7.6" }))