def test_cli_g01(self): """ cli_g01 """ if "json" == ml_system.CFG_TYPE: shutil.copyfile(os.path.join("unittest", "cli-g01.json"), os.path.join("running", "cli.txt")) if "jcfg" == ml_system.CFG_TYPE: shutil.copyfile(os.path.join("unittest", "cli-g01.jcfg"), os.path.join("running", "cli.txt")) if "pickle" == ml_system.CFG_TYPE: return self.maxDiff = None e = ml_w_cli.get(None, threading.RLock()) self.assertEqual(e, (True, { "ssh": True, "telnet": False }))