summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuong Anh Tuan <tuanla@vn.fujitsu.com>2017-03-10 00:01:28 +0700
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2017-12-10 21:51:27 +0000
commit9a1476a8be154dd38f2af7b26e0a774b75d75b44 (patch)
tree0a6984bfc46434cdb3bb8a45613d801c76402766
parente9cc9b8b50a37082fda051dfd583a1ef26fd7d5e (diff)
Indicating the location tests directory in oslo_debug_helperHEADmaster
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: I226346ec50e4433302591ddaccded1edfa9f483a Closes-Bug: #1666560
Notes
Notes (review): Code-Review+2: Li Yingjun <yingjun.li@kylin-cloud.com> Code-Review+1: Syed Ahsan Shamim Zaidi <ahsanmohsin04@yahoo.com> Code-Review+2: Steve McLellan <steven.j.mclellan@gmail.com> Code-Review+1: Nguyen Van Trung <trungnv@vn.fujitsu.com> Workflow+1: Brian Rosmaita <rosmaita.fossdev@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 10 Dec 2017 23:15:41 +0000 Reviewed-on: https://review.openstack.org/443537 Project: openstack/searchlight-ui Branch: refs/heads/master
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 75eb33a..e89bcea 100644
--- a/tox.ini
+++ b/tox.ini
@@ -43,7 +43,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
43commands = python setup.py build_sphinx 43commands = python setup.py build_sphinx
44 44
45[testenv:debug] 45[testenv:debug]
46commands = oslo_debug_helper {posargs} 46commands = oslo_debug_helper -t searchlight_ui/tests {posargs}
47 47
48[testenv:releasenotes] 48[testenv:releasenotes]
49commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 49commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html