本文整理匯總了Python中setuptools.command.test.test.finalize_options方法的典型用法代碼示例。如果您正苦於以下問題:Python test.finalize_options方法的具體用法?Python test.finalize_options怎麽用?Python test.finalize_options使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類setuptools.command.test.test
的用法示例。
在下文中一共展示了test.finalize_options方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = list()
self.test_suite = True
示例2: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
testcommand.finalize_options(self)
self.test_args = []
self.test_suite = True
示例3: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
示例4: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
TestCommand.finalize_options(self)
示例5: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
"""finalize_options"""
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
示例6: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = [self.DIRECTORY]
self.test_suite = True
示例7: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
self.cwd = os.getcwd()
示例8: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
TestCommand.finalize_options(self)
if self.coverage:
self.pytest_args.extend(['--cov-config', '.coveragerc'])
self.pytest_args.extend([
'--cov', 'causalimpact', '--cov-report', 'term-missing'])
if self.html:
self.pytest_args.extend(['--cov-report', 'html'])
self.pytest_args.extend(['-p', 'no:warnings'])
示例9: finalize_options
# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import finalize_options [as 別名]
def finalize_options(self):
pass