Akihiro Motoki 82a20c670a Fix boot-from-volume test in project.instances.tests
The test for the instance table with boot-from-volume had
several issues previously.

a) api.cinder.volume_list is mocked but return_value was not
   specified and called arguments were not checked.
b) The mocked api.nova.server_list returned Server instance
   from novaclient, but it should return Server instance from
   the horizon API wrapper (api.nova.Server). As a result,
   for example, "image_name" property in api.nova.Server
   was skipped.
c) Test data for cinder volumes had wrong attachment information.
   attachment ID must match a volume ID, but it did not.

This commit fixes the above issues and adds a test logic to
check volume_image_metadata handling in instances/views.py.

This is a preparation to implement a unit test in
https://review.opendev.org/#/c/668595/.

NOTE:
The issues (a) and (b) above need to be fixed globally
in the openstack_dashboard testing, but it will be covered
by follow-up commit(s). This commit focues to prepare for
https://review.opendev.org/#/c/668595/.

Change-Id: I7ebb68220f75fef36b43b89e32e5aff18fc0fe25
2019-07-26 21:58:34 +09:00
2019-07-17 08:51:38 +00:00
2016-03-31 14:06:45 +00:00
2016-05-18 15:04:00 -06:00
2018-09-22 20:11:30 +03:00
2019-04-19 19:37:19 +00:00
2013-10-25 14:49:23 +08:00
2019-02-09 21:08:48 +09:00
2018-06-08 12:22:10 +00:00
2011-01-12 13:43:31 -08:00
2017-03-17 19:38:47 +00:00
2017-11-13 10:14:05 +00:00
2016-11-30 20:38:59 +00:00
2018-07-10 14:45:26 +07:00
2019-03-29 10:32:52 +00:00
2017-05-30 13:34:43 +00:00
2019-05-15 15:56:25 +05:30
2019-06-12 15:54:45 +00:00

Horizon (OpenStack Dashboard)

Horizon is a Django-based project aimed at providing a complete OpenStack Dashboard along with an extensible framework for building new dashboards from reusable components. The openstack_dashboard module is a reference implementation of a Django site that uses the horizon app to provide web-based interactions with the various OpenStack projects.

image

Using Horizon

See doc/source/install/index.rst about how to install Horizon in your OpenStack setup. It describes the example steps and has pointers for more detailed settings and configurations.

It is also available at Installation Guide.

Getting Started for Developers

doc/source/quickstart.rst or Quickstart Guide describes how to setup Horizon development environment and start development.

Building Contributor Documentation

This documentation is written by contributors, for contributors.

The source is maintained in the doc/source directory using reStructuredText and built by Sphinx

To build the docs, use:

$ tox -e docs

Results are in the doc/build/html directory

Description
OpenStack Dashboard (Horizon)
Readme 319 MiB
Languages
Python 63.1%
JavaScript 28.8%
HTML 6.5%
SCSS 1.5%