From 79eb6e2929a31b08a047b7d4501ed903f84f3d61 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 10 Jan 2025 00:36:15 +0900 Subject: [PATCH] Get rid of nose nose hasn't been updated for 9 years and is dead. Change-Id: I3c794c063e7f847a38c4592f8f04f22ec706b957 --- devstack/plugin.sh | 15 --------------- doc/source/contributor/debugging_and_testing.rst | 12 ++---------- test-requirements.txt | 1 - 3 files changed, 2 insertions(+), 26 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 193cd45df..8bc18368b 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -126,21 +126,6 @@ function init_mistral { function install_mistral { 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 _install_mistraldashboard fi diff --git a/doc/source/contributor/debugging_and_testing.rst b/doc/source/contributor/debugging_and_testing.rst index 4d6d891bb..33b9c6fc8 100644 --- a/doc/source/contributor/debugging_and_testing.rst +++ b/doc/source/contributor/debugging_and_testing.rst @@ -129,19 +129,11 @@ python-mistralclient: To run integration tests: -* in OpenStack mode (when auth in Mistral is enabled and Mistral integrates - with OpenStack components) - .. code-block:: bash $ pip install git+http://git.opendev.org/openstack/tempest.git - $ nosetests mistral-tempest-plugin/mistral_tempest_tests/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 + $ pip install git+http://git.opendev.org/openstack/mistral-tempest-plugin.git + $ tempest run -- mistral_tempest_plugin.mistral_tempest_tests.api.v2 Mistral-Dashboard debug instructions ==================================== diff --git a/test-requirements.txt b/test-requirements.txt index 58405d6ea..864a7e996 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,7 +4,6 @@ coverage!=4.4,>=4.0 # Apache-2.0 doc8>=0.8.1 # Apache-2.0 Pygments>=2.2.0 # BSD license fixtures>=3.0.0 # Apache-2.0/BSD -nose>=1.3.7 # LGPL oslotest>=3.2.0 # Apache-2.0 requests-mock>=1.2.0 # Apache-2.0 tempest>=21.0.0 # Apache-2.0