Get rid of nose

nose hasn't been updated for 9 years and is dead.

Change-Id: I3c794c063e7f847a38c4592f8f04f22ec706b957
This commit is contained in:
Takashi Kajinami 2025-01-10 00:36:15 +09:00
parent 072ef126dc
commit 79eb6e2929
3 changed files with 2 additions and 26 deletions

View File

@ -126,21 +126,6 @@ function init_mistral {
function install_mistral { function install_mistral {
setup_develop $MISTRAL_DIR setup_develop $MISTRAL_DIR
# installing python-nose.
if is_fedora; then
if python3_enabled; then
real_install_package python3-nose
else
real_install_package python2-nose
fi
elif is_ubuntu; then
if python3_enabled; then
real_install_package python3-nose
fi
else
real_install_package python-nose
fi
if is_service_enabled horizon; then if is_service_enabled horizon; then
_install_mistraldashboard _install_mistraldashboard
fi fi

View File

@ -129,19 +129,11 @@ python-mistralclient:
To run integration tests: To run integration tests:
* in OpenStack mode (when auth in Mistral is enabled and Mistral integrates
with OpenStack components)
.. code-block:: bash .. code-block:: bash
$ pip install git+http://git.opendev.org/openstack/tempest.git $ pip install git+http://git.opendev.org/openstack/tempest.git
$ nosetests mistral-tempest-plugin/mistral_tempest_tests/tests/api/v2 $ pip install git+http://git.opendev.org/openstack/mistral-tempest-plugin.git
$ tempest run -- mistral_tempest_plugin.mistral_tempest_tests.api.v2
* in Non-OpenStack mode:
* set 'auth_enable=false' in the mistral.conf under [pecan] group
* restart Mistral server
* execute: ./run_functional_tests
Mistral-Dashboard debug instructions Mistral-Dashboard debug instructions
==================================== ====================================

View File

@ -4,7 +4,6 @@ coverage!=4.4,>=4.0 # Apache-2.0
doc8>=0.8.1 # Apache-2.0 doc8>=0.8.1 # Apache-2.0
Pygments>=2.2.0 # BSD license Pygments>=2.2.0 # BSD license
fixtures>=3.0.0 # Apache-2.0/BSD fixtures>=3.0.0 # Apache-2.0/BSD
nose>=1.3.7 # LGPL
oslotest>=3.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0
requests-mock>=1.2.0 # Apache-2.0 requests-mock>=1.2.0 # Apache-2.0
tempest>=21.0.0 # Apache-2.0 tempest>=21.0.0 # Apache-2.0