Run unit tests in isolation w/ coverage support.

This commit is contained in:
Matt Clay 2017-02-23 16:58:57 -08:00
commit fcac261eef
5 changed files with 36 additions and 1 deletions

View file

@ -144,7 +144,6 @@ def coverage_command(self_dir, version):
args = [
find_executable(executable),
'run',
'--append',
'--rcfile',
os.path.join(self_dir, '.coveragerc'),
]

View file

@ -624,6 +624,7 @@ def command_units(args):
cmd = [
'pytest',
'--boxed',
'-r', 'a',
'--color',
'yes' if args.color else 'no',

View file

@ -6,6 +6,7 @@ passlib
pycrypto
pytest
pytest-mock
pytest-xdist
python-memcached
pyyaml
redis