Skip to content
Snippets Groups Projects

Increase test coverage

Merged Martin Bergemann requested to merge test_coverage into main
3 files
+ 30
26
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -31,6 +31,15 @@ def small_chunk() -> Generator[Tuple[int, int, int, int], None, None]:
yield (1, 1, 24, 24)
@pytest.fixture(scope="session")
def empty_data() -> Generator[xr.Dataset, None, None]:
"""Create an empty datasset."""
yield xr.Dataset(
{"tas_bnds": xr.DataArray(["hallo"], name="tas_bnds", dims=("lon",))}
)
@pytest.fixture(scope="session")
def large_chunk() -> Generator[Tuple[int, int, int, int], None, None]:
"""Define tuple for smaller chunks sizes."""
Loading