From baeb8879a2ae011e4ea3836dabba584f1311f814 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Fri, 17 Aug 2018 00:28:20 +0900 Subject: [PATCH] Drop nose dependencies Horizon test setting no longer depends on nose and related stuffs. This commit cleans up nose related dependencies. Filenames of test modules need to start with test_* so that Django test runner detects them. There is no test defined but it would be nice to adjust the filename. Also moves horizon dependencies to requirements.txt. Change-Id: Ib2f246d76da8a1f5d26a9cf8e9ef27e5f4f62bee --- .../api_tests/{rest_api_tests.py => test_rest_api.py} | 0 requirements.txt | 5 ++--- test-requirements.txt | 11 ----------- 3 files changed, 2 insertions(+), 14 deletions(-) rename adjutant_ui/test/api_tests/{rest_api_tests.py => test_rest_api.py} (100%) diff --git a/adjutant_ui/test/api_tests/rest_api_tests.py b/adjutant_ui/test/api_tests/test_rest_api.py similarity index 100% rename from adjutant_ui/test/api_tests/rest_api_tests.py rename to adjutant_ui/test/api_tests/test_rest_api.py diff --git a/requirements.txt b/requirements.txt index 47a9202..b6487e0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,5 @@ # # PBR should always appear first pbr>=2.0.0 # Apache-2.0 -Babel>=2.3.4 # BSD -Django<1.12,>=1.11 # BSD -django-babel>=0.5.1 # BSD + +horizon>=14.0.0.0b3 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 00090dd..40ac5a5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9,15 +9,9 @@ # Hacking should appear first in case something else depends on pep8 hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0 coverage>=4.0 # Apache-2.0 -django-nose>=1.4.4 # BSD mock>=2.0 # BSD mox3!=0.19.0,>=0.7.0 # Apache-2.0 nodeenv>=0.9.4 # BSD -nose # LGPL -nose-exclude # LGPL -nosehtmloutput>=0.0.3 # Apache-2.0 -nosexcover # BSD -openstack.nose-plugin>=0.7 # Apache-2.0 oslosphinx>=4.7.0 # Apache-2.0 reno>=1.8.0 # Apache-2.0 selenium>=2.50.1 # Apache-2.0 @@ -26,8 +20,3 @@ testtools>=1.4.0 # MIT # This also needs xvfb library installed on your OS xvfbwrapper>=0.1.3 #license: MIT sphinx-rtd-theme>=0.2.4 - -# OpenStack CI will install the following projects from git -# if they are in the required-projects list for a job: -horizon>=13.0.0 # Apache-2.0 -