diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-02-20 16:19:50 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-06-26 14:39:59 +0000 |
commit | bb31e6c8221b854041a668ddca438444fe97d212 (patch) | |
tree | 82ef5ea8a5184b1d890fc7180e847ded506c5bf7 /tests/unit/__init__.py | |
parent | e88d6092ac3dab2b657247c7f27a2b34d90978dc (diff) |
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 <emma.l.foley@intel.com>
(cherry-picked from commit 64add9a435e9455b3bff6971d2717857cdce8193)
Diffstat (limited to 'tests/unit/__init__.py')
-rw-r--r-- | tests/unit/__init__.py | 26 |
1 files changed, 0 insertions, 26 deletions
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()
|