OpenStack Dashboard (Horizon)
Go to file
Akihiro Motoki ccaaf8cbb9 Fix regressions in unit_tests.sh during pytest mirgation
The pytest migration patch introduced a couple of regression in
tools/unit_tests.sh:

* We no longer cannot run a specific test explicitly
  (per python file, per test class, per specific test).
  Per module like openstack_dashboard, openstack_auth and horizon
  is the only possible way after the pytest migration.
* openstack_dashboard tests outside of openstack_dashboard/test/
  are not looked up when a subset is specified.

This commit restores the orginal behavior.

pytest uses a different way to specify tests.
We cannot use the style of python modules like
"openstack_auth.tests.unit.test_policy.PolicyLoaderTestCase.test_policy_file_load"
and we need to specify tests like file paths [1].

[1] https://docs.pytest.org/en/latest/usage.html#specifying-tests-selecting-tests

Closes-Bug: #1875123
Change-Id: Ic4b6c69d8a2ed774cce16521c4c4336f55ff737e
2020-04-26 20:39:10 +09:00
doc Imported Translations from Zanata 2020-04-26 06:56:27 +00:00
horizon Handle case without pytest for plugin tests 2020-04-18 08:44:45 +09:00
openstack_auth Remove Keystone v2 related code 2020-04-23 11:43:12 +09:00
openstack_dashboard Imported Translations from Zanata 2020-04-26 06:56:27 +00:00
playbooks Fix video recording for integration tests 2020-04-09 09:20:04 +00:00
releasenotes Imported Translations from Zanata 2020-04-26 06:56:27 +00:00
roles Prepare non-primary Django tests in zuul jobs 2019-12-29 05:20:33 +09:00
tools Fix regressions in unit_tests.sh during pytest mirgation 2020-04-26 20:39:10 +09:00
.eslintignore bump eslint version to 1.10.3 2016-03-31 14:06:45 +00:00
.eslintrc Disabling warnings of 'quote-props' 2016-05-18 15:04:00 -06:00
.gitignore Change horizon test runner to pytest 2020-04-03 13:47:18 +03:00
.gitreview OpenDev Migration Patch 2019-04-19 19:37:19 +00:00
.mailmap Update my mailmap 2013-10-25 14:49:23 +08:00
.pylintrc Use the python real executable 2019-07-17 16:23:33 +02:00
.zuul.yaml Add Python3 victoria unit tests 2020-04-17 21:05:53 +00:00
CONTRIBUTING.rst Update the documentation link for doc migration 2017-08-04 18:38:25 +00:00
HACKING.rst Update the documentation link for doc migration 2017-08-04 18:38:25 +00:00
LICENSE Initial commit 2011-01-12 13:43:31 -08:00
MANIFEST.in Drop Makefile 2017-11-13 10:14:05 +00:00
README.rst Add release notes link in README 2018-07-10 14:45:26 +07:00
babel-django.cfg Drop babel extractor definitions from babel config 2019-12-23 17:25:38 +09:00
babel-djangojs.cfg Drop babel extractor definitions from babel config 2019-12-23 17:25:38 +09:00
bindep.txt Fix video recording for integration tests 2020-04-09 09:20:04 +00:00
lower-constraints.txt Merge "Change horizon test runner to pytest" 2020-04-14 05:45:38 +00:00
manage.py hacking: noqa cleanup in horizon 2017-03-17 19:38:47 +00:00
package.json Refactor tox & update docs 2016-11-30 20:38:59 +00:00
plugin-registry.csv Generate plugin registry based on releases repo 2019-12-23 18:43:24 +09:00
reno.yaml Tell reno to ignore the kilo branch 2020-03-23 13:18:58 +00:00
requirements.txt Bump xstatic-mdi lower-bound 2020-04-01 16:01:48 +09:00
setup.cfg Avoid duplicated maintenance of integration test config 2020-01-10 00:55:43 +09:00
setup.py Updated from global requirements 2017-05-30 13:34:43 +00:00
test-requirements.txt Merge "Change horizon test runner to pytest" 2020-04-14 05:45:38 +00:00
test-shim.js Add Apache 2.0 license to source file 2016-12-02 17:40:28 +07:00
tox.ini Merge "Fix video recording for integration tests" 2020-04-16 11:34:14 +00:00

README.rst

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