Skip to content

Commit

Permalink
chore: Register remote pytest marker in pyproject.toml
Browse files Browse the repository at this point in the history
Tests targeting an actual remote endpoint should be marked with a
'remote' marker. Custom markers should be registered, else pytest
emits a warning.
  • Loading branch information
lu-pl committed Jul 27, 2024
1 parent f4c0448 commit 7b8683c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ build-backend = "poetry.core.masonry.api"
lint.ignore = ["F401"]

[tool.deptry.package_module_name_map]
sparqlwrapper = "SPARQLWrapper"
sparqlwrapper = "SPARQLWrapper"

[tool.pytest.ini_options]
markers = [
"remote: Mark tests that connect to a remote service",
]

0 comments on commit 7b8683c

Please sign in to comment.