aboutsummaryrefslogtreecommitdiffstats
path: root/python_moonutilities/tests/unit_python/conftest.py
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2017-12-27 15:30:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-27 15:30:35 +0000
commitaa5ddd83324338e98a06a98dd7f526a1b66edac0 (patch)
tree892b99ac7100577516e724cb2bbce0e2fc3ff8c3 /python_moonutilities/tests/unit_python/conftest.py
parentde710abf2bcff9fc14862eef1ad4c00c207d9e14 (diff)
parent12df3719531f1aac21e35efab3688927a42a4b70 (diff)
Merge "adding unit tests for cache module"
Diffstat (limited to 'python_moonutilities/tests/unit_python/conftest.py')
-rw-r--r--python_moonutilities/tests/unit_python/conftest.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/python_moonutilities/tests/unit_python/conftest.py b/python_moonutilities/tests/unit_python/conftest.py
index 7217586a..34e5c272 100644
--- a/python_moonutilities/tests/unit_python/conftest.py
+++ b/python_moonutilities/tests/unit_python/conftest.py
@@ -1,8 +1,6 @@
import pytest
import requests_mock
-import mock_components
-import mock_keystone
-import mock_cache
+import mock_repo
@pytest.fixture(autouse=True)
@@ -10,8 +8,7 @@ def no_requests(monkeypatch):
""" Modify the response from Requests module
"""
with requests_mock.Mocker(real_http=True) as m:
- mock_components.register_components(m)
- mock_keystone.register_keystone(m)
- mock_cache.register_cache(m)
+ mock_repo.register_cache(m)
+
print("End registering URI")
yield m \ No newline at end of file