From 11271738f3b4b787a05ccf6b9649523f45c6dccd Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Mon, 19 Dec 2016 21:12:06 +0100 Subject: [PATCH] Remove unnecessary fixture it was needed when the root fixture was using autouse --- tests/test_config_utils.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/test_config_utils.py b/tests/test_config_utils.py index 548d3160..2a326147 100644 --- a/tests/test_config_utils.py +++ b/tests/test_config_utils.py @@ -9,19 +9,6 @@ import bigchaindb ORIGINAL_CONFIG = copy.deepcopy(bigchaindb._config) -@pytest.fixture -def ignore_local_config_file(monkeypatch): - """ - This fixture's purpose is to override the one under - :module:`tests/conftest.py` so that the original behaviour of - :func:`bigchaindb.config_utils.file_config` is restored, so that it can be - tested. - - """ - from bigchaindb.config_utils import file_config - monkeypatch.setattr('bigchaindb.config_utils.file_config', file_config) - - @pytest.fixture(scope='function', autouse=True) def clean_config(monkeypatch): monkeypatch.setattr('bigchaindb.config', copy.deepcopy(ORIGINAL_CONFIG))