From: Mike Bayer Date: Fri, 11 Jul 2014 00:41:48 +0000 (-0400) Subject: update test runners to be module-based X-Git-Tag: rel_0_9_7~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e31672952631741257cce17d16764279a5b1460b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git update test runners to be module-based --- diff --git a/tox.ini b/tox.ini index 3f96770878..915876582f 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,6 @@ envlist = pyXX [testenv] -whitelist_externals=flake8 - coverage deps=pytest flake8 coverage @@ -20,13 +18,13 @@ commands= [testenv:coverage] commands= - py.test \ + python -m pytest \ --cov=sqlalchemy {posargs} - coverage xml --include=lib/sqlalchemy/* + python -m coverage xml --include=lib/sqlalchemy/* [testenv:pep8] # we are *very very* early in the flake8 process :) -commands = flake8 setup.py sqla_nose.py test/aaa_profiling/ +commands = python -m flake8 setup.py sqla_nose.py test/aaa_profiling/ [flake8]