diff options
author | 2017-12-15 17:16:46 +0100 | |
---|---|---|
committer | 2017-12-15 17:16:46 +0100 | |
commit | 8fd36fdcd34eaff089313c750e5daf6f3801692c (patch) | |
tree | 3b50a7d33950f3ac66a5106c62c18d58c8b7bdcb /moonv4/moon_utilities/tests/unit_python/conftest.py | |
parent | 40144450de989888ab6f0957dd455a2a32d70da7 (diff) |
moon_utilities python unit test
Change-Id: I8969aa80788eaca850a773f4bc37f2eac8892f3e
Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'moonv4/moon_utilities/tests/unit_python/conftest.py')
-rw-r--r-- | moonv4/moon_utilities/tests/unit_python/conftest.py | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/moonv4/moon_utilities/tests/unit_python/conftest.py b/moonv4/moon_utilities/tests/unit_python/conftest.py index 17ba7852..83350c4d 100644 --- a/moonv4/moon_utilities/tests/unit_python/conftest.py +++ b/moonv4/moon_utilities/tests/unit_python/conftest.py @@ -1,7 +1,7 @@ import base64 import json import logging -import managers_mock as pdp_manager +import mock_cache_manager as pdp_manager import pytest import requests_mock @@ -190,20 +190,6 @@ def no_requests(monkeypatch): ) pdp_manager.mock_managers(m) print("End registering URI") - # from moon_db.db_manager import init_engine, run - # engine = init_engine() - # print("engine={}".format(engine)) - # run("upgrade", logging.getLogger("db_manager"), engine) - # print("End populating the DB.") yield m -# @pytest.fixture(autouse=True, scope="session") -# def manage_database(): -# from moon_db.db_manager import init_engine, run -# engine = init_engine() -# run("upgrade", logging.getLogger("db_manager"), engine) -# yield -# print("Will close the DB") - - |