Akihiro Motoki 64d5ba8515 Improve mocking in REST API tests (test_cinder)
The current REST API tests have a lot of rooms to be improved like:
- mocking the whole module of the API wrapper
- Use test_data.cinder_data
- Use response.json attribute to decode responses as much as possible

APIResourceWrapper.to_dict() method of openstack_dashboard.api.base
is changed to refer attributes of an object itself instead of
self._apiresource. There is a case where APIResourceWrapper class
defines its own attributes and such attributes should be used in
to_dict() method. If self._apiresouce is referred these attributes
are not considered. We need to consume attributes of a class object
itself. It helps us write unit tests using sample test data.

Change-Id: I5b0c3bb52d97f377c6e5fe2b9a4ace2931114ab0
Partial-Bug: #1752917
2018-03-13 12:27:01 +09:00
2016-03-31 14:06:45 +00:00
2016-05-18 15:04:00 -06:00
2017-11-15 23:44:41 +02:00
2011-10-28 09:50:35 -04:00
2013-10-25 14:49:23 +08:00
2018-03-03 07:33:23 +09: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
2017-08-03 09:18:56 +08:00
2018-03-08 07:22:54 -06:00
2017-05-30 13:34:43 +00:00
2018-03-08 07:22:54 -06: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 322 MiB
Languages
Python 63.2%
JavaScript 28.7%
HTML 6.5%
SCSS 1.5%