Skip to content

Commit 68d2775

Browse files
committed
import path test_mesh_points_protocols
type test_mesh_edges_protocols
1 parent 7e89bf4 commit 68d2775

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/tests/mesh/edges/test_mesh_edges_protocols.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Standard library imports
2+
from typing import Callable
23

34
# Third party imports
45
from src.opengeodeweb_viewer.rpc.mesh.mesh_protocols import VtkMeshView
56
from src.opengeodeweb_viewer.rpc.mesh.edges.mesh_edges_protocols import VtkMeshEdgesView
67

78
# Local application imports
89
from src.tests.mesh.test_mesh_protocols import test_register_mesh
10+
from ...conftest import ServerMonitor
911

1012

11-
def test_edges_visibility(server, dataset_factory):
13+
def test_edges_visibility(server: ServerMonitor, dataset_factory: Callable[..., str]) -> None:
1214
test_register_mesh(server, dataset_factory)
1315

1416
server.call(
@@ -19,7 +21,7 @@ def test_edges_visibility(server, dataset_factory):
1921
assert server.compare_image(3, "mesh/edges/visibility.jpeg") == True
2022

2123

22-
def test_edges_color(server, dataset_factory):
24+
def test_edges_color(server: ServerMonitor, dataset_factory: Callable[..., str]) -> None:
2325
test_edges_visibility(server, dataset_factory)
2426

2527
server.call(
@@ -30,7 +32,7 @@ def test_edges_color(server, dataset_factory):
3032
assert server.compare_image(3, "mesh/edges/color.jpeg") == True
3133

3234

33-
def test_edges_with_edged_curve(server, dataset_factory):
35+
def test_edges_with_edged_curve(server: ServerMonitor, dataset_factory: Callable[..., str]) -> None:
3436
dataset_factory(id="123456789", viewable_file_name="edged_curve.vtp")
3537

3638
server.call(

src/tests/mesh/points/test_mesh_points_protocols.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
from typing import Callable
33

44
# Third party imports
5-
from opengeodeweb_viewer.rpc.mesh.mesh_protocols import VtkMeshView
6-
from opengeodeweb_viewer.rpc.mesh.points.mesh_points_protocols import VtkMeshPointsView
5+
from src.opengeodeweb_viewer.rpc.mesh.mesh_protocols import VtkMeshView
6+
from src.opengeodeweb_viewer.rpc.mesh.points.mesh_points_protocols import VtkMeshPointsView
77

88
# Local application imports
99
from src.tests.mesh.test_mesh_protocols import test_register_mesh

0 commit comments

Comments
 (0)