Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pyicon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Nils Brüggemann
pyicon
Commits
d92a415e
Commit
d92a415e
authored
2 years ago
by
fraserwg
Browse files
Options
Downloads
Patches
Plain Diff
apply tests to a pyicon dataset grid and check things still work
parent
c2b59a89
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!11
Updates to calculate_xr and addition of tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyicon/tests/test_pyicon_calc_xr.py
+1
-1
1 addition, 1 deletion
pyicon/tests/test_pyicon_calc_xr.py
with
1 addition
and
1 deletion
pyicon/tests/test_pyicon_calc_xr.py
+
1
−
1
View file @
d92a415e
...
...
@@ -48,7 +48,7 @@ def test_convert_tgrid_data(raw_grid):
assert
"
cell
"
in
converted_tgrid
.
dims
@pytest.mark.parametrize
(
"
tgrid
"
,
[
"
raw_grid
"
])
@pytest.mark.parametrize
(
"
tgrid
"
,
[
"
raw_grid
"
,
"
processed_tgrid
"
])
def
test_xr_crop_tgrid
(
tgrid
,
request
):
# Set ireg_c and crop the grid
tgrid
=
request
.
getfixturevalue
(
tgrid
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment