From 0fa30df401f1ae240ca23d0dc8e68741eee06fa5 Mon Sep 17 00:00:00 2001 From: Andy Georges Date: Mon, 29 Apr 2024 15:04:26 +0200 Subject: [PATCH] fix: custom test command in tox --- runtest.py | 5 ----- tox.ini | 6 +++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/runtest.py b/runtest.py index 83a95bb..56292e3 100755 --- a/runtest.py +++ b/runtest.py @@ -27,16 +27,11 @@ import argparse import glob -import json import logging import os -import pprint -import re import shutil import sys -from unittest.case import TestCase from vsc.utils.run import run_asyncloop -from vsc.utils.generaloption import simple_option """ Test the grok patterns for vector usage. diff --git a/tox.ini b/tox.ini index 6352d8d..36296bd 100644 --- a/tox.ini +++ b/tox.ini @@ -10,6 +10,8 @@ skipsdist = true commands_pre = pip install 'setuptools<42.0' python -m easy_install -U vsc-install + python -m easy_install -U vsc-base + python -m easy_install -U vsc-install [testenv:py39] ignore_outcome = true @@ -17,7 +19,9 @@ setenv = SETUPTOOLS_USE_DISTUTILS=local commands_pre = pip install 'setuptools<54.0' wheel python -c "from setuptools import setup;setup(script_args=['-q', 'easy_install', '-v', '-U', 'vsc-install'])" + python -c "from setuptools import setup;setup(script_args=['-q', 'easy_install', '-v', '-U', 'vsc-base'])" + python -c "from setuptools import setup;setup(script_args=['-q', 'easy_install', '-v', '-U', 'vsc-utils'])" [testenv] -commands = python setup.py test +commands = python runtest.py --info passenv = USER