diff options
Diffstat (limited to 'moonv4/moon_utilities/tests/unit_python/conftest.py')
-rw-r--r-- | moonv4/moon_utilities/tests/unit_python/conftest.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/moonv4/moon_utilities/tests/unit_python/conftest.py b/moonv4/moon_utilities/tests/unit_python/conftest.py deleted file mode 100644 index 7217586a..00000000 --- a/moonv4/moon_utilities/tests/unit_python/conftest.py +++ /dev/null @@ -1,17 +0,0 @@ -import pytest -import requests_mock -import mock_components -import mock_keystone -import mock_cache - - -@pytest.fixture(autouse=True) -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) - print("End registering URI") - yield m
\ No newline at end of file |