Skip to content

Commit e1405d6

Browse files
committed
- [CLN] Moving test from plugins to each plugin
1 parent ab9e55d commit e1405d6

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

gempy_plugins/map2gempy/tests/__init__.py

Whitespace-only changes.

gempy_plugins/orientations_generator/tests/__init__.py

Whitespace-only changes.

tests/test_orientations_from_surface_points.py renamed to gempy_plugins/orientations_generator/tests/test_orientations_from_surface_points.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from orientations_generator import select_nearest_surfaces_points, NearestSurfacePointsSearcher
55

66
input_path = os.path.dirname(__file__) + '/../../examples/data'
7-
data_path = os.path.abspath('data')
7+
data_path = os.path.abspath('../../../tests/data')
88

99

1010
def _model_factory():
@@ -24,7 +24,7 @@ def test_set_orientations():
2424
geo_data = _model_factory()
2525

2626
orientations: gp.data.OrientationsTable = gp.create_orientations_from_surface_points_coords(
27-
xyz_coords=geo_data.surface_points
27+
xyz_coords=geo_data.surface_points.xyz
2828
)
2929

3030
gp.add_orientations(

0 commit comments

Comments
 (0)