Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
esde
machine-learning
MLAir
Commits
4fdf7b77
Commit
4fdf7b77
authored
1 year ago
by
leufen1
Browse files
Options
Downloads
Patches
Plain Diff
update tests
parent
4dde6424
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!522
filter can now combine obs, forecast, and apriori for first iteration. Further...
,
!521
Resolve "release v2.4.0"
,
!513
Resolve "robust apriori estimate for short timeseries"
Pipeline
#140219
canceled
1 year ago
Stage: test
Stage: docs
Stage: pages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_run_modules/test_model_setup.py
+1
-1
1 addition, 1 deletion
test/test_run_modules/test_model_setup.py
with
1 addition
and
1 deletion
test/test_run_modules/test_model_setup.py
+
1
−
1
View file @
4fdf7b77
...
@@ -97,7 +97,7 @@ class TestModelSetup:
...
@@ -97,7 +97,7 @@ class TestModelSetup:
with
pytest
.
raises
(
EmptyScope
):
with
pytest
.
raises
(
EmptyScope
):
self
.
current_scope_as_set
(
setup_with_model
)
# will fail because scope is not created
self
.
current_scope_as_set
(
setup_with_model
)
# will fail because scope is not created
setup_with_model
.
get_model_settings
()
# this saves now the parameter test_param into scope
setup_with_model
.
get_model_settings
()
# this saves now the parameter test_param into scope
assert
{
"
test_param
"
,
"
model_
path
"
}
<=
self
.
current_scope_as_set
(
setup_with_model
)
assert
{
"
test_param
"
,
"
model_
name
"
}
<=
self
.
current_scope_as_set
(
setup_with_model
)
def
test_build_model
(
self
,
setup_with_gen
):
def
test_build_model
(
self
,
setup_with_gen
):
assert
setup_with_gen
.
model
is
None
assert
setup_with_gen
.
model
is
None
...
...
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