当前位置: 首页>>代码示例>>Python>>正文


Python Constants.add_right_enbrace方法代码示例

本文整理汇总了Python中constants.Constants.add_right_enbrace方法的典型用法代码示例。如果您正苦于以下问题:Python Constants.add_right_enbrace方法的具体用法?Python Constants.add_right_enbrace怎么用?Python Constants.add_right_enbrace使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在constants.Constants的用法示例。


在下文中一共展示了Constants.add_right_enbrace方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: generate_rerun_params

# 需要导入模块: from constants import Constants [as 别名]
# 或者: from constants.Constants import add_right_enbrace [as 别名]
 def generate_rerun_params(self):
     f = "-f \""
     param = Constants.EXECUTE_PREFF  + "\"" + Constants.WRT_LAUNCHR_CMD
     for suite in self.suites.keys():
         suite_obj = self.suites[suite]
         f += "%s " % suite_obj.get_rerunxml_name()
         param += " %s" % suite
     f = Constants.add_right_enbrace(f)
     param = Constants.add_right_enbrace(param)
     return f + param + Constants.RERUN_OUTPUT
开发者ID:iamrainius,项目名称:tct-shell,代码行数:12,代码来源:shellrunner.py

示例2: get_suite_param

# 需要导入模块: from constants import Constants [as 别名]
# 或者: from constants.Constants import add_right_enbrace [as 别名]
     def get_suite_param(self):
         param = Constants.XMLFILE_PREFF + "\""
         
         for suite_name in self.options.suites:
             param += "%s " % suite_name
         param = Constants.add_right_enbrace(param)

         param += Constants.EXECUTE_PREFF  + ("\" %s " % Constants.WRT_LAUNCHR_CMD)
         for e_name in self.options.suites:
             param += "%s " % e_name
         param = Constants.add_right_enbrace(param)
         return param
开发者ID:iamrainius,项目名称:tct-shell,代码行数:14,代码来源:shellwrapper.py

示例3: generate_params

# 需要导入模块: from constants import Constants [as 别名]
# 或者: from constants.Constants import add_right_enbrace [as 别名]
 def generate_params(self):
     f = Constants.XMLFILE_PREFF + "\""
     tmp = ""
     for suite in self.suites.keys():
         suite_obj = self.suites[suite]
         p_name = suite[0: suite.find("tests")] + "tests"
         f += Constants.DEVICE_TESTS_FILE % p_name
         if suite_obj.get_command().startswith(Constants.WRT_LAUNCHR_CMD):
             tmp += "%s " % suite_obj.get_command()[(len(Constants.WRT_LAUNCHR_CMD) + 1):]
     f = Constants.add_right_enbrace(f)
     e = ""
     if not tmp.isspace():
         e = Constants.EXECUTE_PREFF  + "\"" + Constants.WRT_LAUNCHR_CMD +" " + tmp
         e = Constants.add_right_enbrace(e)
     return f + " " + e
开发者ID:iamrainius,项目名称:tct-shell,代码行数:17,代码来源:shellrunner.py

示例4: get_e

# 需要导入模块: from constants import Constants [as 别名]
# 或者: from constants.Constants import add_right_enbrace [as 别名]
 def get_e(self):
     e = Constants.EXECUTE_PREFF + "\"" + Constants.WRT_LAUNCHR_CMD + " %s" % self.get_name()
     return Constants.add_right_enbrace(e)
开发者ID:iamrainius,项目名称:tct-shell,代码行数:5,代码来源:shellrunner.py

示例5: get_f

# 需要导入模块: from constants import Constants [as 别名]
# 或者: from constants.Constants import add_right_enbrace [as 别名]
 def get_f(self):
     f = Constants.XMLFILE_PREFF + "\"" + Constants.DEVICE_TESTS_FILE % self.get_name()
     return Constants.add_right_enbrace(f)
开发者ID:iamrainius,项目名称:tct-shell,代码行数:5,代码来源:shellrunner.py


注:本文中的constants.Constants.add_right_enbrace方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。