summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriswarya_vakati <v.iswarya@nectechnologies.in>2017-03-13 15:33:12 +0530
committeriswarya vakati <v.iswarya@nectechnologies.in>2017-03-13 11:02:34 +0000
commit04052686af1f2c437095f5a2aa210256e126e0d9 (patch)
tree94811eede21f92fc89ca16231882fe5bdf0b2053
parent124caad93eeeb92f901aca5d899a434809c639a8 (diff)
Pass located tests directory in oslo debug
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 Closes-Bug: #1666560 Change-Id: I18ea63e9303b2a69f69de3e42b52c8a9f25bf7a5
Notes
Notes (review): Code-Review+2: Lance Bragstad <lbragstad@gmail.com> Code-Review+1: Colleen Murphy <colleen@gazlene.net> Code-Review+2: Boris Bobrov <breton@cynicmansion.ru> Workflow+1: Boris Bobrov <breton@cynicmansion.ru> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 13 Mar 2017 16:47:31 +0000 Reviewed-on: https://review.openstack.org/444795 Project: openstack/keystonemiddleware 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 8277e9d..e9d9b56 100644
--- a/tox.ini
+++ b/tox.ini
@@ -36,7 +36,7 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
36 36
37[testenv:debug] 37[testenv:debug]
38 38
39commands = oslo_debug_helper {posargs} 39commands = oslo_debug_helper -t keystonemiddleware/tests {posargs}
40 40
41[flake8] 41[flake8]
42# D100: Missing docstring in public module 42# D100: Missing docstring in public module