def run_tests(self): import tox import shlex errno = tox.cmdline(args=shlex.split(self.tox_args)) sys.exit(errno)