def run_tests(self): """Invoke the test runner (tox).""" # import here, cause outside the eggs aren't loaded import tox import shlex errno = tox.cmdline(args=shlex.split(self.tox_args)) sys.exit(errno)