Always find the test python module in this repo

And some cosmetic bits too

Change-Id: Ic04e05af9e12300795a16586091c7834927b80bc
This commit is contained in:
Dean Troyer 2017-10-19 16:10:14 -05:00
parent fac9e324f5
commit 9b23f4826d
1 changed files with 5 additions and 3 deletions

View File

@ -4,17 +4,19 @@
- shell:
cmd: |
echo "------------------------------------------------------------"
virtualenv osc_plugins
- shell:
cmd: |
echo "------------------------------------------------------------"
osc_plugins/bin/pip install -e src/git.openstack.org/{{ item }}
with_items: "{{ zuul.projects | selectattr('required') | map(attribute='name') | list }}"
- shell:
cmd: |
echo "------------------------------------------------------------"
osc_plugins/bin/pip freeze
# Finally install the change under test
osc_plugins/bin/pip install -e src/{{ zuul.project.canonical_name }}
echo "------------------------------------------------------------"
osc_plugins/bin/openstack --version
osc_plugins/bin/python src/{{ zuul.project.canonical_name }}/tests/check_osc_commands.py
osc_plugins/bin/python src/git.openstack.org/openstack/openstackclient/tests/check_osc_commands.py