We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb6cb5 commit 6c7e604Copy full SHA for 6c7e604
tests/v4/test_basegrid.py
@@ -8,7 +8,7 @@
8
from parcels.basegrid import BaseGrid
9
10
11
-class TestGrid(BaseGrid):
+class MockGrid(BaseGrid):
12
def __init__(self, axis_dim: dict[str, int]):
13
self.axis_dim = axis_dim
14
@@ -26,10 +26,10 @@ def get_axis_dim(self, axis: str) -> int:
26
@pytest.mark.parametrize(
27
"grid",
28
[
29
- TestGrid({"Z": 10, "Y": 20, "X": 30}),
30
- TestGrid({"Z": 5, "Y": 15}),
31
- TestGrid({"Z": 8}),
32
- TestGrid({"Z": 12, "FACE": 25}),
+ MockGrid({"Z": 10, "Y": 20, "X": 30}),
+ MockGrid({"Z": 5, "Y": 15}),
+ MockGrid({"Z": 8}),
+ MockGrid({"Z": 12, "FACE": 25}),
33
],
34
)
35
def test_basegrid_ravel_unravel_index(grid):
0 commit comments