Let's use `--numprocesses=auto` in order to speed up the unit tests execution.
See the difference, without `--numprocesses=auto`:
```
... omitted output ...
real 1m22.884s
user 0m23.003s
sys 0m20.504s
```
with `--numprocesses=auto`:
```
... omitted output ...
real 0m18.767s
user 0m33.056s
sys 0m23.244s
```
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
cd5eb7939ed92b584c45689a3169847811b8518d)
[testenv]
deps=
pytest
+ pytest-xdist
mock
install_command=./tox_install_command.sh {opts} {packages}
-commands=py.test -v {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/functional
+commands=py.test --numprocesses=auto -vv {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/functional
[testenv:py3-flake8]
deps=flake8