Skip to content

Commit 6c7e604

Browse files
committed
Rename TestGrid to MockGrid
Test* is particular to pytest
1 parent cbb6cb5 commit 6c7e604

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/v4/test_basegrid.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from parcels.basegrid import BaseGrid
99

1010

11-
class TestGrid(BaseGrid):
11+
class MockGrid(BaseGrid):
1212
def __init__(self, axis_dim: dict[str, int]):
1313
self.axis_dim = axis_dim
1414

@@ -26,10 +26,10 @@ def get_axis_dim(self, axis: str) -> int:
2626
@pytest.mark.parametrize(
2727
"grid",
2828
[
29-
TestGrid({"Z": 10, "Y": 20, "X": 30}),
30-
TestGrid({"Z": 5, "Y": 15}),
31-
TestGrid({"Z": 8}),
32-
TestGrid({"Z": 12, "FACE": 25}),
29+
MockGrid({"Z": 10, "Y": 20, "X": 30}),
30+
MockGrid({"Z": 5, "Y": 15}),
31+
MockGrid({"Z": 8}),
32+
MockGrid({"Z": 12, "FACE": 25}),
3333
],
3434
)
3535
def test_basegrid_ravel_unravel_index(grid):

0 commit comments

Comments
 (0)