HTML output generation may break horizon plugin unittests
Bug #1697731 reported by
Akihiro Motoki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Akihiro Motoki |
Bug Description
After merging a patch which generates HTML output report for unit tests [1], trove-dashboard unit test starts to fail.
Most horizon plugins import openstack_
openstack_
The check for htmloutput module availability looks required.
To post a comment you must log in.
ubuntu@ sheep6: /opt/stack/ trove-dashboard $ tox -e py27
[....]
py27 runtests: commands[0] | /bin/bash run_tests.sh -N --no-pep8 trove-dashboard /.tox/py27/ src/horizon/ openstack_ dashboard/ enabled/ __init_ _.pyc') package= openstack_ dashboard --cover-inclusive --all-modules --with-html-output --html- out-file= ut_openstack_ dashboard_ nose_results. html --verbosity=1
('removing ', '/opt/stack/
Running trove_dashboard application tests
nosetests trove_dashboard --nocapture --nologcapture --cover-
Usage: manage.py [options]
manage.py: error: no such option: --with-html-output
Tests failed.
ERROR: InvocationError: '/bin/bash run_tests.sh -N --no-pep8'