From 7b8683cb4915346ae52c7b92fae527ba03557d9f Mon Sep 17 00:00:00 2001 From: Lukas Plank Date: Fri, 26 Jul 2024 19:53:55 +0200 Subject: [PATCH] chore: Register remote pytest marker in pyproject.toml Tests targeting an actual remote endpoint should be marked with a 'remote' marker. Custom markers should be registered, else pytest emits a warning. --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 92949a8..222d668 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,4 +29,9 @@ build-backend = "poetry.core.masonry.api" lint.ignore = ["F401"] [tool.deptry.package_module_name_map] -sparqlwrapper = "SPARQLWrapper" \ No newline at end of file +sparqlwrapper = "SPARQLWrapper" + +[tool.pytest.ini_options] +markers = [ + "remote: Mark tests that connect to a remote service", +] \ No newline at end of file