Python setuptools.command.test.test.initialize_options() Examples
The following are 30
code examples of setuptools.command.test.test.initialize_options().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
setuptools.command.test.test
, or try the search function
.
Example #1
Source File: setup.py From carl with BSD 3-Clause "New" or "Revised" License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) try: from ConfigParser import ConfigParser except ImportError: from configparser import ConfigParser config = ConfigParser() config.read("pytest.ini") self.pytest_args = config.get("pytest", "addopts").split(" ")
Example #2
Source File: setup.py From pyramid-oauthlib with BSD 2-Clause "Simplified" License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None
Example #3
Source File: setup.py From resilient-python-api with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.configfile = "" self.co3args = "" self.pytestargs = "" self.test_suite = True self.test_args = []
Example #4
Source File: setup.py From webhook-shims with Apache License 2.0 | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.args = []
Example #5
Source File: setup.py From downstream-farmer with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #6
Source File: setup.py From webhook-shims with Apache License 2.0 | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.args = []
Example #7
Source File: setup.py From safe_learning with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ''
Example #8
Source File: setup.py From python-twitch-client with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ""
Example #9
Source File: setup.py From psyplot with GNU General Public License v2.0 | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ''
Example #10
Source File: setup.py From resilient-python-api with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytestargs = "" self.test_suite = True
Example #11
Source File: setup.py From kube-aws-autoscaler with GNU General Public License v3.0 | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.pytest_args = ['--cov', 'kube_aws_autoscaler', '--cov-report', 'term-missing', '-v'] self.cov_html = False
Example #12
Source File: tasks.py From litecli with BSD 3-Clause "New" or "Revised" License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ""
Example #13
Source File: tasks.py From litecli with BSD 3-Clause "New" or "Revised" License | 5 votes |
def initialize_options(self): """Set the default options.""" self.fix = False
Example #14
Source File: tasks.py From litecli with BSD 3-Clause "New" or "Revised" License | 5 votes |
def initialize_options(self): """Override the distutils abstract method.""" pass
Example #15
Source File: setup.py From astrobase with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #16
Source File: setup.py From dtale with GNU Lesser General Public License v2.1 | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #17
Source File: setup.py From OpenOA with BSD 3-Clause "New" or "Revised" License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = ''
Example #18
Source File: setup.py From confluence with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #19
Source File: setup.py From flaky with Apache License 2.0 | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.tox_args = None
Example #20
Source File: setup.py From graphene with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #21
Source File: setup.py From pyDEA with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #22
Source File: setup.py From kobin with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #23
Source File: setup.py From vxTrader with MIT License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #24
Source File: setup.py From threatshell with BSD 3-Clause "New" or "Revised" License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #25
Source File: setup.py From bencoder.pyx with BSD 3-Clause "New" or "Revised" License | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = []
Example #26
Source File: setup.py From sdeint with GNU General Public License v3.0 | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.tox_args = None
Example #27
Source File: setup.py From HdrHistogram_py with Apache License 2.0 | 5 votes |
def initialize_options(self): test.initialize_options(self) self.tox_args = None
Example #28
Source File: setup.py From spilo with Apache License 2.0 | 5 votes |
def sphinx_builder(): try: from sphinx.setup_command import BuildDoc except ImportError: class NoSphinx(Command): user_options = [] def initialize_options(self): raise RuntimeError('Sphinx documentation is not installed, run: pip install sphinx') return NoSphinx class BuildSphinxDocs(BuildDoc): def run(self): if self.builder == 'doctest': import sphinx.ext.doctest as doctest # Capture the DocTestBuilder class in order to return the total # number of failures when exiting ref = capture_objs(doctest.DocTestBuilder) BuildDoc.run(self) errno = ref[-1].total_failures sys.exit(errno) else: BuildDoc.run(self) return BuildSphinxDocs
Example #29
Source File: setup.py From spilo with Apache License 2.0 | 5 votes |
def initialize_options(self): TestCommand.initialize_options(self) self.cov = None self.cov_xml = False self.cov_html = False self.junitxml = None
Example #30
Source File: setup.py From pysm4 with MIT License | 5 votes |
def initialize_options(self): test_command.initialize_options(self) self.pytest_args = []