From: Tim Van Steenburgh Date: Fri, 24 Feb 2017 15:01:11 +0000 (-0500) Subject: Enable parallel testing X-Git-Tag: 0.3.0~2^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=6c4ec5e0056a73ae0e0ca46ceb4b662a647acefe;p=osm%2FN2VC.git Enable parallel testing Should help speed up tests, especially as more functional tests are added in the future. Each can be run in parallel on a separate model. Also removed unused import from client/connection.py --- diff --git a/juju/client/connection.py b/juju/client/connection.py index b17ac45..9e8cb8f 100644 --- a/juju/client/connection.py +++ b/juju/client/connection.py @@ -1,4 +1,3 @@ -import asyncio import base64 import io import json diff --git a/tox.ini b/tox.ini index 235813e..b4fec3d 100644 --- a/tox.ini +++ b/tox.ini @@ -11,8 +11,9 @@ skipsdist=True usedevelop=True passenv = HOME -commands = py.test -ra -s -x +commands = py.test -ra -s -x -n auto deps = pytest pytest-asyncio + pytest-xdist mock