Skip to content

Commit 17a87b9

Browse files
committed
Clean up test_shell so that the tests are captured though the test framework.
Also makes a small modification to gitignore. Change-Id: Iefbfbcfd35270b06ed65edb34708fa9b4d5bf563
1 parent 26fcc30 commit 17a87b9

3 files changed

Lines changed: 219 additions & 281 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*.swo
77
*.swp
88
*~
9+
.coverage
910
.openstackclient-venv
1011
.testrepository
1112
.tox

run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function run_tests {
7777
if [ "x$testrargs" = "x" ]; then
7878
testrargs="^(?!.*test_coverage_ext).*$"
7979
fi
80-
export PYTHON="${wrapper} coverage run --source novaclient --parallel-mode"
80+
export PYTHON="${wrapper} coverage run --source openstackclient --parallel-mode"
8181
fi
8282
# Just run the test suites in current environment
8383
set +e
@@ -176,5 +176,5 @@ fi
176176
if [ $coverage -eq 1 ]; then
177177
echo "Generating coverage report in covhtml/"
178178
${wrapper} coverage combine
179-
${wrapper} coverage html --include='novaclient/*' --omit='novaclient/openstack/common/*' -d covhtml -i
179+
${wrapper} coverage html --include='openstackclient/*' --omit='openstackclient/openstack/common/*' -d covhtml -i
180180
fi

0 commit comments

Comments
 (0)