本文整理汇总了Python中mi.idk.driver_generator.DriverGenerator.driver_test_path方法的典型用法代码示例。如果您正苦于以下问题:Python DriverGenerator.driver_test_path方法的具体用法?Python DriverGenerator.driver_test_path怎么用?Python DriverGenerator.driver_test_path使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mi.idk.driver_generator.DriverGenerator
的用法示例。
在下文中一共展示了DriverGenerator.driver_test_path方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from mi.idk.driver_generator import DriverGenerator [as 别名]
# 或者: from mi.idk.driver_generator.DriverGenerator import driver_test_path [as 别名]
def __init__(self, metadata, basedir, driver_file = None, driver_test_file = None):
driver_generator = DriverGenerator(metadata)
self.basedir = basedir
if driver_file:
self.driver_file = driver_file
else:
self.driver_file = driver_generator.driver_path()
if driver_test_file:
self.driver_test_file = driver_test_file
else:
self.driver_test_file = driver_generator.driver_test_path()
self.driver_dependency = DependencyList(self.driver_file, include_internal_init=True)
self.test_dependency = DependencyList(self.driver_test_file, include_internal_init=True)
示例2: _driver_test_filename
# 需要导入模块: from mi.idk.driver_generator import DriverGenerator [as 别名]
# 或者: from mi.idk.driver_generator.DriverGenerator import driver_test_path [as 别名]
def _driver_test_filename(self):
generator = DriverGenerator(self.metadata)
return generator.driver_test_path()