Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Commits
cf71c209
Commit
cf71c209
authored
5 months ago
by
Sebastian Müller
🐈
Browse files
Options
Downloads
Patches
Plain Diff
Output check: meta data now more forgiving; check different grids instead
parent
cc791d2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!286
Add mask to Info object
Pipeline
#244513
failed with stages
in 2 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/core/test_sdk.py
+2
-1
2 additions, 1 deletion
tests/core/test_sdk.py
with
2 additions
and
1 deletion
tests/core/test_sdk.py
+
2
−
1
View file @
cf71c209
...
...
@@ -26,6 +26,7 @@ from finam import (
Info
,
Input
,
NoGrid
,
EsriGrid
,
Output
,
TimeComponent
,
)
...
...
@@ -162,7 +163,7 @@ class TestOutput(unittest.TestCase):
counter
=
0
t
=
datetime
(
2000
,
1
,
1
)
info
=
Info
(
time
=
t
,
grid
=
NoGrid
(),
meta
=
{
"
test
"
:
0
})
wrong_info
=
Info
(
time
=
t
,
grid
=
No
Grid
(),
meta
=
{
"
test
"
:
5
})
wrong_info
=
Info
(
time
=
t
,
grid
=
Esri
Grid
(
2
,
2
),
meta
=
{
"
test
"
:
5
})
def
callback
(
_clr
,
_time
):
nonlocal
counter
...
...
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