Horizon plugin for OpenStack Orchestration (Heat)
79ef24a784
This repo does not support Python 2 anymore, so we don't need six for compatibility between Python2 and 3, convert six usage to Python 3 code. This changes urllib usage. mock.patch usage in heat_dashboard/test/tests/api/test_heat.py is modified to cope with the mix usage of urllib from python3 (in heat-dashboard) and six.moves.urllib (in heatclient). In the case of the mix usage, patching urllib.request.urlopen() only does not work as urllib.request.urlopen() is not called after resolving a lazy loading in six and the resolved object is six.moves.urllib.request is called. The previous code depends on the behavior in heatclient read_url_content() and the method should be mocked instead. Considering this, mocking in api/test_heat.py is modified to mock direct methods called in the heat-dashboard code. Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Icf3f889770242b02023fe22c405cfa2d823581a5 Needed-By: https://review.opendev.org/701743 |
||
---|---|---|
devstack | ||
doc | ||
heat_dashboard | ||
releasenotes | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
babel-django.cfg | ||
babel-djangojs.cfg | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
karma.conf.js | ||
LICENSE | ||
lower-constraints.txt | ||
manage.py | ||
MANIFEST.in | ||
package.json | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Welcome to Heat Dashboard!
Heat dashboard is a horizon plugin for Heat.
- License: Apache license
- Documentation: https://docs.openstack.org/heat-dashboard/latest/
- Source: https://opendev.org/openstack/heat-dashboard
- Bugs: https://storyboard.openstack.org/#!/project/openstack/heat-dashboard
- Release Notes: https://docs.openstack.org/releasenotes/heat-dashboard