本文整理汇总了Python中atve.log.LOG.info方法的典型用法代码示例。如果您正苦于以下问题:Python LOG.info方法的具体用法?Python LOG.info怎么用?Python LOG.info使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类atve.log.LOG
的用法示例。
在下文中一共展示了LOG.info方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test
# 需要导入模块: from atve.log import LOG [as 别名]
# 或者: from atve.log.LOG import info [as 别名]
def test(self):
self.assertTrue("atve.picture" in self.service.keys())
self.assertTrue(self.service["atve.picture"].version() != None)
pic = self.service["atve.picture"].get()
self.assertTrue(self.get("system.tmp") != None)
L.info(os.path.join(self.get("system.tmp"), "test01.png"))
pic.info(pic.open(os.path.join(self.get("system.tmp"), "test01.png")))
示例2: test
# 需要导入模块: from atve.log import LOG [as 别名]
# 或者: from atve.log.LOG import info [as 别名]
def test(self):
self.assertTrue("atve.picture" in self.service.keys())
self.assertTrue(self.service["atve.picture"].version() != None)
pic = self.service["atve.picture"].get()
self.assertTrue(self.get("system.tmp") != None)
img = pic.open(os.path.join(self.get("system.tmp"), "test01.png"))
self.assertTrue(img != None)
rgb = pic.get_rgb(img)
self.assertTrue(len(rgb) == 3)
L.info(rgb)
示例3: test
# 需要导入模块: from atve.log import LOG [as 别名]
# 或者: from atve.log.LOG import info [as 别名]
def test(self):
self.assertTrue("atve.picture" in self.service.keys())
self.assertTrue(self.service["atve.picture"].version() != None)
pic = self.service["atve.picture"].get()
self.assertTrue(self.get("system.tmp") != None)
reference = os.path.join(self.get("system.tmp"), "test01.png")
target = os.path.join(self.get("system.tmp"), "test01_target01.png")
point = pic.search_pattern(reference, target)
self.assertTrue(point != None)
L.info(point)
示例4: test
# 需要导入模块: from atve.log import LOG [as 别名]
# 或者: from atve.log.LOG import info [as 别名]
def test(self):
self.assertTrue("atve.picture" in self.service.keys())
self.assertTrue(self.service["atve.picture"].version() != None)
pic = self.service["atve.picture"].get()
self.assertTrue(self.get("system.tmp") != None)
img = pic.open(os.path.join(self.get("system.tmp"), "test01.png"))
self.assertTrue(img != None)
opencv_img = pic.to_opencv(img)
img2 = pic.to_pil(opencv_img)
self.assertTrue(img2 != None)
pic.save(img2, os.path.join(self.get("system.tmp"), "test02.png"))
img3 = pic.open(os.path.join(self.get("system.tmp"), "test01.png"))
self.assertTrue(img3 != None)
L.info(pic.info(img3))
示例5: tearDownClass
# 需要导入模块: from atve.log import LOG [as 别名]
# 或者: from atve.log.LOG import info [as 别名]
def tearDownClass(cls):
L.info("*** End TestCase : %s *** " % __file__)
示例6: setUpClass
# 需要导入模块: from atve.log import LOG [as 别名]
# 或者: from atve.log.LOG import info [as 别名]
def setUpClass(cls):
L.info("*** Start TestCase : %s *** " % __file__)
示例7: test
# 需要导入模块: from atve.log import LOG [as 别名]
# 或者: from atve.log.LOG import info [as 别名]
def test(self):
self.assertTrue("atve.picture" in self.service.keys())
self.assertTrue(self.service["atve.picture"].version() != None)
L.info(self.service["atve.picture"].version())