本文整理汇总了Python中Actions.make_post_text方法的典型用法代码示例。如果您正苦于以下问题:Python Actions.make_post_text方法的具体用法?Python Actions.make_post_text怎么用?Python Actions.make_post_text使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Actions
的用法示例。
在下文中一共展示了Actions.make_post_text方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: debug
# 需要导入模块: import Actions [as 别名]
# 或者: from Actions import make_post_text [as 别名]
def debug(self, message, text=u""):
logging.debug(message + u"\t" + text )
if __debug__:
if text == u'':
text = u'This has been a test of the Central Scruuuuutinizer'
Actions.make_post_text(self.altsub, message, text)
示例2: testMakePostText
# 需要导入模块: import Actions [as 别名]
# 或者: from Actions import make_post_text [as 别名]
def testMakePostText(sub):
# spawn a action
print "Make Post:"
post = a.make_post_text(sub, "testpost", "please ignore")
print "Passed" if post else "Failed"
return post
示例3: info
# 需要导入模块: import Actions [as 别名]
# 或者: from Actions import make_post_text [as 别名]
def info(self, message, text=u''):
logging.info(message)
if __debug__:
if text == u'':
text = u'This has been a test of the Central Scruuuuutinizer'
Actions.make_post_text(self.altsub, message, text)