From 64add9a435e9455b3bff6971d2717857cdce8193 Mon Sep 17 00:00:00 2001 From: Emma Foley Date: Tue, 20 Feb 2018 16:19:50 +0000 Subject: Stop running tests from tests/unit Since all tests have been moved into yardstick/tests, temperary code to run tests in both tests and yardstick/tests should be removed. JIRA: YARDSTICK-837 Change-Id: I3bf3c9ece9bc8457d992e53ee8cc5cadb1dec8f0 Signed-off-by: Emma Foley --- tests/unit/__init__.py | 26 -------------------------- tests/unit/network_services/__init__.py | 0 2 files changed, 26 deletions(-) delete mode 100644 tests/unit/__init__.py delete mode 100644 tests/unit/network_services/__init__.py (limited to 'tests') diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py deleted file mode 100644 index 95b2b8a4e..000000000 --- a/tests/unit/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) 2017 Intel Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import sys - -import mock - -from yardstick import tests - -# NOTE(ralonsoh): to be removed. Replace all occurrences of -# tests.unit.STL_MOCKS with yardstick.tests.STL_MOCKS -STL_MOCKS = tests.STL_MOCKS - -mock_stl = mock.patch.dict(sys.modules, tests.STL_MOCKS) -mock_stl.start() diff --git a/tests/unit/network_services/__init__.py b/tests/unit/network_services/__init__.py deleted file mode 100644 index e69de29bb..000000000 -- cgit 1.2.3-korg