Skip to content

Commit

Permalink
chore(tests): mark integration tests as slow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed Dec 2, 2024
1 parent 33b0e6d commit 4dbfaba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion differt/tests/em/test_antenna.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_wavenumber(self, antenna: Antenna) -> None:
def test_abstract(self):
with pytest.raises(
TypeError,
match="Can't instantiate abstract class Antenna with abstract methods",
match="Can't instantiate abstract class Antenna",
):
_ = Antenna(frequency=1e9) # type: ignore[reportAbstractUsage]

Expand Down
2 changes: 2 additions & 0 deletions differt/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from differt.scene import TriangleScene


@pytest.mark.slow
def test_ray_casting() -> None:
o3d = pytest.importorskip("open3d")

Expand Down Expand Up @@ -75,6 +76,7 @@ def test_ray_casting() -> None:
)


@pytest.mark.slow
def test_simple_street_canyon() -> None:
sionna = pytest.importorskip("sionna")
file = sionna.rt.scene.simple_street_canyon
Expand Down

0 comments on commit 4dbfaba

Please sign in to comment.