From 6c4ec5e0056a73ae0e0ca46ceb4b662a647acefe Mon Sep 17 00:00:00 2001 From: Tim Van Steenburgh Date: Fri, 24 Feb 2017 10:01:11 -0500 Subject: [PATCH] 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 --- juju/client/connection.py | 1 - tox.ini | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.17.1