From 2227414bd57f4b7f5f275d915fa8f6a2aa21f8f7 Mon Sep 17 00:00:00 2001 From: Mark Beierl Date: Thu, 14 Jul 2016 16:20:44 -0400 Subject: [PATCH] Separation of test and source Moving the test files into their own top-level directory to keep things clean Change-Id: Ic50b881045bc59b003807923424345b335dd5c95 Signed-off-by: Mark Beierl --- ci/verify.sh | 2 +- {storperf/tests => tests}/__init__.py | 0 {storperf/tests => tests}/carbon_tests/__init__.py | 0 {storperf/tests => tests}/carbon_tests/emitter_test.py | 0 {storperf/tests => tests}/carbon_tests/json_to_carbon_test.py | 0 {storperf/tests => tests}/db_tests/__init__.py | 0 {storperf/tests => tests}/db_tests/configuration_db_test.py | 0 {storperf/tests => tests}/db_tests/graphite_db_test.py | 0 {storperf/tests => tests}/db_tests/job_db_test.py | 0 {storperf/tests => tests}/storperf_master_test.py | 0 {storperf/tests/utilities => tests/utilities_tests}/__init__.py | 0 {storperf/tests/utilities => tests/utilities_tests}/dictionary_test.py | 0 {storperf/tests/utilities => tests/utilities_tests}/math_range_test.py | 0 {storperf/tests/utilities => tests/utilities_tests}/math_slope_test.py | 0 {storperf/tests => tests}/workload_tests/__init__.py | 0 {storperf/tests => tests}/workload_tests/workload_subclass_test.py | 0 16 files changed, 1 insertion(+), 1 deletion(-) rename {storperf/tests => tests}/__init__.py (100%) rename {storperf/tests => tests}/carbon_tests/__init__.py (100%) rename {storperf/tests => tests}/carbon_tests/emitter_test.py (100%) rename {storperf/tests => tests}/carbon_tests/json_to_carbon_test.py (100%) rename {storperf/tests => tests}/db_tests/__init__.py (100%) rename {storperf/tests => tests}/db_tests/configuration_db_test.py (100%) rename {storperf/tests => tests}/db_tests/graphite_db_test.py (100%) rename {storperf/tests => tests}/db_tests/job_db_test.py (100%) rename {storperf/tests => tests}/storperf_master_test.py (100%) rename {storperf/tests/utilities => tests/utilities_tests}/__init__.py (100%) rename {storperf/tests/utilities => tests/utilities_tests}/dictionary_test.py (100%) rename {storperf/tests/utilities => tests/utilities_tests}/math_range_test.py (100%) rename {storperf/tests/utilities => tests/utilities_tests}/math_slope_test.py (100%) rename {storperf/tests => tests}/workload_tests/__init__.py (100%) rename {storperf/tests => tests}/workload_tests/workload_subclass_test.py (100%) diff --git a/ci/verify.sh b/ci/verify.sh index 89b1406..24aadac 100755 --- a/ci/verify.sh +++ b/ci/verify.sh @@ -52,7 +52,7 @@ nosetests --with-xunit \ --with-coverage \ --cover-package=storperf\ --cover-xml \ - storperf + tests rc=$? deactivate diff --git a/storperf/tests/__init__.py b/tests/__init__.py similarity index 100% rename from storperf/tests/__init__.py rename to tests/__init__.py diff --git a/storperf/tests/carbon_tests/__init__.py b/tests/carbon_tests/__init__.py similarity index 100% rename from storperf/tests/carbon_tests/__init__.py rename to tests/carbon_tests/__init__.py diff --git a/storperf/tests/carbon_tests/emitter_test.py b/tests/carbon_tests/emitter_test.py similarity index 100% rename from storperf/tests/carbon_tests/emitter_test.py rename to tests/carbon_tests/emitter_test.py diff --git a/storperf/tests/carbon_tests/json_to_carbon_test.py b/tests/carbon_tests/json_to_carbon_test.py similarity index 100% rename from storperf/tests/carbon_tests/json_to_carbon_test.py rename to tests/carbon_tests/json_to_carbon_test.py diff --git a/storperf/tests/db_tests/__init__.py b/tests/db_tests/__init__.py similarity index 100% rename from storperf/tests/db_tests/__init__.py rename to tests/db_tests/__init__.py diff --git a/storperf/tests/db_tests/configuration_db_test.py b/tests/db_tests/configuration_db_test.py similarity index 100% rename from storperf/tests/db_tests/configuration_db_test.py rename to tests/db_tests/configuration_db_test.py diff --git a/storperf/tests/db_tests/graphite_db_test.py b/tests/db_tests/graphite_db_test.py similarity index 100% rename from storperf/tests/db_tests/graphite_db_test.py rename to tests/db_tests/graphite_db_test.py diff --git a/storperf/tests/db_tests/job_db_test.py b/tests/db_tests/job_db_test.py similarity index 100% rename from storperf/tests/db_tests/job_db_test.py rename to tests/db_tests/job_db_test.py diff --git a/storperf/tests/storperf_master_test.py b/tests/storperf_master_test.py similarity index 100% rename from storperf/tests/storperf_master_test.py rename to tests/storperf_master_test.py diff --git a/storperf/tests/utilities/__init__.py b/tests/utilities_tests/__init__.py similarity index 100% rename from storperf/tests/utilities/__init__.py rename to tests/utilities_tests/__init__.py diff --git a/storperf/tests/utilities/dictionary_test.py b/tests/utilities_tests/dictionary_test.py similarity index 100% rename from storperf/tests/utilities/dictionary_test.py rename to tests/utilities_tests/dictionary_test.py diff --git a/storperf/tests/utilities/math_range_test.py b/tests/utilities_tests/math_range_test.py similarity index 100% rename from storperf/tests/utilities/math_range_test.py rename to tests/utilities_tests/math_range_test.py diff --git a/storperf/tests/utilities/math_slope_test.py b/tests/utilities_tests/math_slope_test.py similarity index 100% rename from storperf/tests/utilities/math_slope_test.py rename to tests/utilities_tests/math_slope_test.py diff --git a/storperf/tests/workload_tests/__init__.py b/tests/workload_tests/__init__.py similarity index 100% rename from storperf/tests/workload_tests/__init__.py rename to tests/workload_tests/__init__.py diff --git a/storperf/tests/workload_tests/workload_subclass_test.py b/tests/workload_tests/workload_subclass_test.py similarity index 100% rename from storperf/tests/workload_tests/workload_subclass_test.py rename to tests/workload_tests/workload_subclass_test.py -- 2.16.6