How to use the tox.cmdline function in tox

To help you get started, we’ve selected a few tox examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ansible / pytest-mp / setup.py View on Github external
def run_tests(self):
        import tox
        errno = tox.cmdline(self.tox_args)
        sys.exit(errno)
github a-feld / pytest-skippy / setup.py View on Github external
def run_tests(self):
        import tox
        tox.cmdline(self.test_args)
github pycontribs / confluence / setup.py View on Github external
def run_tests(self):
        # import here, cause outside the eggs aren't loaded
        import tox
        errno = tox.cmdline(self.test_args)
        sys.exit(errno)
github DataDog / dd-trace-py / setup.py View on Github external
def run_tests(self):
        # import here, cause outside the eggs aren't loaded
        import tox
        import shlex

        args = self.tox_args
        if args:
            args = shlex.split(self.tox_args)
        errno = tox.cmdline(args=args)
        sys.exit(errno)
github gc3pie / gc3pie / gc3pie / setup.py View on Github external
def run_tests(self):
        # import here, cause outside the eggs aren't loaded
        import tox
        errno = tox.cmdline(self.test_args)
        sys.exit(errno)
github nap / jaro-winkler-distance / setup.py View on Github external
def run_tests(self):
        import tox  # import here, cause outside the eggs aren't loaded
        import shlex
        args = self.tox_args
        if args:
            args = shlex.split(self.tox_args)
        errno = tox.cmdline(args=args)
        sys.exit(errno)
github jcomo / snake / setup.py View on Github external
def run_tests(self):
        # Import here since eggs aren't loaded outside of this scope
        import tox
        import shlex

        args = self.tox_args
        if args:
            args = shlex.split(self.tox_args)

        errno = tox.cmdline(args=args)
        sys.exit(errno)
github gvkalra / python-anydo / setup.py View on Github external
def run_tests(self):
        import tox
        errno = tox.cmdline(self.test_args)
        sys.exit(errno)
github Libensemble / libensemble / setup.py View on Github external
def run_tests(self):
        import tox
        tox.cmdline()
github mar10 / wsgidav / setup.py View on Github external
def run_tests(self):
        # Import here, cause outside the eggs aren't loaded
        import tox

        # Raises SystemExit
        tox.cmdline(self.test_args)