Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rechunk-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ch1187
rechunk-data
Merge requests
!10
Increase test coverage
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Increase test coverage
test_coverage
into
main
Overview
0
Commits
2
Pipelines
2
Changes
3
Merged
Martin Bergemann
requested to merge
test_coverage
into
main
2 years ago
Overview
0
Commits
2
Pipelines
2
Changes
3
Expand
0
0
Merge request reports
Compare
main
version 1
fd44103a
2 years ago
main (base)
and
latest version
latest version
fe0d10d1
2 commits,
2 years ago
version 1
fd44103a
1 commit,
2 years ago
3 files
+
32
−
23
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
src/rechunk_data/tests/conftest.py
+
9
−
0
Options
@@ -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