Skip to content

Commit ea8463a

Browse files
committed
test: mark plugin tests as webtest
1 parent 5c69b40 commit ea8463a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_misc/test_plugins.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
from pathlib import Path
1212
from typing import Any, cast
1313

14+
import pytest
15+
1416
import rdflib.plugin
1517
import rdflib.plugins.sparql
1618
import rdflib.plugins.sparql.evaluate
@@ -89,6 +91,7 @@ def ctx_cleaners() -> Generator[list[Callable[[], None]], None, None]:
8991

9092

9193
# Using no_cover as coverage freaks out and crashes because of what is happening here.
94+
@pytest.mark.webtest
9295
def test_sparqleval(tmp_path: Path, no_cover: None) -> None:
9396
with ExitStack() as stack:
9497
stack.enter_context(ctx_plugin(tmp_path, TEST_PLUGINS_DIR / "sparqleval"))
@@ -126,6 +129,7 @@ def test_sparqleval(tmp_path: Path, no_cover: None) -> None:
126129

127130

128131
# Using no_cover as coverage freaks out and crashes because of what is happening here.
132+
@pytest.mark.webtest
129133
def test_parser(tmp_path: Path, no_cover: None) -> None:
130134
with ExitStack() as stack:
131135
stack.enter_context(ctx_plugin(tmp_path, TEST_PLUGINS_DIR / "parser"))

0 commit comments

Comments
 (0)