73a746b461
nose is not actively maintained now and Django default test runner
seems to have enough features.
* Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
* Integraion tests is marked via django.test.tag mechanism which is
introduced in Django 1.10.
* Rename filename of test files to names starting with 'test_'
so that the django test runner can find tests expectedly.
* run_tests.sh is no longer called from tox.ini, so it can be dropped.
Note that the similar run_tests.sh in horizon was dropped long ago.
Change-Id: I1e5471078cc95031e8819f01100319a9ee2a3a73
(cherry picked from commit
|
||
---|---|---|
devstack | ||
doc | ||
releasenotes | ||
sahara_dashboard | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel-django.cfg | ||
babel-djangojs.cfg | ||
bindep.txt | ||
lower-constraints.txt | ||
manage.py | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
OpenStack Dashboard plugin for Sahara project
How to use with Horizon on server:
Use pip to install the package on the server running Horizon. Then either copy or link the files in sahara_dashboard/enabled to openstack_dashboard/local/enabled. This step will cause the Horizon service to pick up the Sahara plugin when it starts.
How to use with devstack:
Add the following to your devstack local.conf
file:
enable_plugin sahara-dashboard git://git.openstack.org/openstack/sahara-dashboard
To run unit tests:
./run_tests.sh
NOTE:
As of the Mitaka release, the dashboard for sahara is now maintained outside of the horizon codebase, in the repository.
Links:
Sahara project: https://git.openstack.org/cgit/openstack/sahara
Sahara at wiki.openstack.org: https://wiki.openstack.org/wiki/Sahara
Storyboard project: https://storyboard.openstack.org/#!/project/936
Sahara docs site: https://docs.openstack.org/sahara/latest/
Quickstart guide: https://docs.openstack.org/sahara/latest/user/quickstart.html
How to participate: https://docs.openstack.org/sahara/latest/contributor/how-to-participate.html
Release notes: https://docs.openstack.org/releasenotes/sahara-dashboard/
License
Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0