Add support for single-test tox runs

Use a sintax like
    tox test.test_download:TestDownload.test_NowVideo
to run the specific test on all the tox environments (Python versions)
This commit is contained in:
Filippo Valsorda 2013-10-12 13:17:11 -04:00
parent f5e54a1fda
commit d3f46b9aa5
9 changed files with 13 additions and 10 deletions

View file

@ -37,8 +37,8 @@ def _file_md5(fn):
with open(fn, 'rb') as f:
return hashlib.md5(f.read()).hexdigest()
import helper # Set up remaining global configuration
from helper import get_testcases, try_rm
import test.helper as helper # Set up remaining global configuration
from .helper import get_testcases, try_rm
defs = get_testcases()
with io.open(PARAMETERS_FILE, encoding='utf-8') as pf: