summaryrefslogtreecommitdiffstats
path: root/tests/lsp_tests/conftest.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:17:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:17:41 +0000
commitc2da8244dfd429c1737c029ed3993c15b4cd8c4f (patch)
tree771515cf321b1d24e56bce38be2c392a7669cf76 /tests/lsp_tests/conftest.py
parentAdding debian version 0.1.26. (diff)
downloaddebputy-c2da8244dfd429c1737c029ed3993c15b4cd8c4f.tar.xz
debputy-c2da8244dfd429c1737c029ed3993c15b4cd8c4f.zip
Merging upstream version 0.1.27.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/lsp_tests/conftest.py')
-rw-r--r--tests/lsp_tests/conftest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lsp_tests/conftest.py b/tests/lsp_tests/conftest.py
index 2aff4a2..ec12e9a 100644
--- a/tests/lsp_tests/conftest.py
+++ b/tests/lsp_tests/conftest.py
@@ -24,14 +24,13 @@ except ImportError:
HAS_PYGLS = False
-@pytest.fixture(scope="session")
+@pytest.fixture(scope="session", autouse=True)
def enable_logging() -> None:
setup_logging(log_only_to_stderr=True, reconfigure_logging=True)
@pytest.fixture()
def ls(
- enable_logging,
debputy_plugin_feature_set: PluginProvidedFeatureSet,
) -> "LanguageServer":
if not HAS_PYGLS: