From 7250886d149a02f9a3cd0542e8b327f405d75f08 Mon Sep 17 00:00:00 2001 From: Luong Anh Tuan Date: Thu, 9 Mar 2017 23:55:21 +0700 Subject: [PATCH] Indicating the location tests directory in oslo_debug_helper According to [1], we can passing a "-t" argument to oslo_debug_helper to indicate the directory where tests are located. This will solves ImportError exception. [1] https://docs.openstack.org/developer/oslotest/features.html Change-Id: Id72596a8c3d9e2e344ef492f2d60b89bc0422aec Closes-Bug: #1666560 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b8fd6e7..bec51c0 100644 --- a/tox.ini +++ b/tox.ini @@ -29,7 +29,7 @@ commands = commands = python setup.py build_sphinx [testenv:debug] -commands = oslo_debug_helper {posargs} +commands = oslo_debug_helper -t watcherclient/tests/unit {posargs} [testenv:functional] basepython = python2.7